Fixed deprecation warnings

This commit is contained in:
Christoph Haas 2017-04-17 00:02:23 +02:00
parent 26a2f44ff1
commit a1ba2625bf
3 changed files with 36 additions and 6 deletions

View 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

View 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