Fixed deprecation warnings
This commit is contained in:
parent
26a2f44ff1
commit
a1ba2625bf
3 changed files with 36 additions and 6 deletions
14
test/controllers/my_controller_test.rb
Normal file
14
test/controllers/my_controller_test.rb
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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?
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue