Fixed deprecation warnings
This commit is contained in:
parent
26a2f44ff1
commit
a1ba2625bf
3 changed files with 36 additions and 6 deletions
19
test/controllers/admin_controller_test.rb
Normal file
19
test/controllers/admin_controller_test.rb
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
require "test_helper"
|
||||
|
||||
describe AdminController do
|
||||
it "should get status" do
|
||||
get admin_status_url
|
||||
value(response).must_be :success?
|
||||
end
|
||||
|
||||
it "should get screenshots" do
|
||||
get admin_screenshots_url
|
||||
value(response).must_be :success?
|
||||
end
|
||||
|
||||
it "should get integration" do
|
||||
get admin_integration_url
|
||||
value(response).must_be :success?
|
||||
end
|
||||
|
||||
end
|
||||
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