skill-assessment-app/test/controllers/admin/auth_controller_test.rb

22 lines
433 B
Ruby
Raw Normal View History

2016-08-17 17:49:09 -05:00
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