skill-assessment-app/test/controllers/admin/auth_controller_test.rb
2016-08-22 16:26:21 -05:00

22 lines
433 B
Ruby

require 'test_helper'
module Admin
class AuthControllerTest < ActionDispatch::IntegrationTest
test "should get login" do
get admin_url
assert_response :success
assert_template 'admin/auth/login'
end
test "should get auth" do
post admin_auth_url
assert_response :success
end
test "should get logout" do
get admin_logout_url
assert_response :success
end
end
end