Tests run okay

…they are massively incomplete though
This commit is contained in:
Christoph Haas 2018-08-13 15:02:28 +02:00
parent 80d21a1f90
commit 64bf286636
6 changed files with 18 additions and 33 deletions

View file

@ -1,19 +1,9 @@
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?
class AdminControllerTest < ActionController::TestCase
test "should get status" do
get :status
assert_response :redirect
end
end