Tests run okay
…they are massively incomplete though
This commit is contained in:
parent
80d21a1f90
commit
64bf286636
6 changed files with 18 additions and 33 deletions
|
|
@ -1,14 +1,9 @@
|
|||
require "test_helper"
|
||||
|
||||
describe MyController do
|
||||
it "should get index" do
|
||||
get my_index_url
|
||||
value(response).must_be :success?
|
||||
end
|
||||
|
||||
it "should get uploads" do
|
||||
get my_uploads_url
|
||||
value(response).must_be :success?
|
||||
class MyControllerTest < ActionController::TestCase
|
||||
test "should get profile without login" do
|
||||
get :profile
|
||||
assert_response :redirect
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue