admin test complete

This commit is contained in:
Mark Moser committed 2016-09-22 17:26:00 -05:00
1 parent 33f0358fa5
commit 4a745e0aba
8 files changed
+144 -18

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
# frozen_string_literal: true
require 'test_helper'
# TODO: How the heck to you test a headless policy?...
#
# class AdminPolicyTest < PolicyAssertions::Test
# def test_dashboard
# assert_permit users(:recruiter), Admin
# end
# end
+8
View File
@@ -0,0 +1,8 @@
# frozen_string_literal: true
require 'test_helper'
class DashboardPolicyTest < PolicyAssertions::Test
def test_show
assert_permit users(:recruiter), :dashboard
end
end