admin interface generation

This commit is contained in:
Mark Moser
2016-08-17 17:49:09 -05:00
parent 9e27ba379e
commit 6a3f652dd7
26 changed files with 268 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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