1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00

Reorder policy spec actions

This commit is contained in:
Eric Kelly 2014-10-31 14:20:10 -04:00
parent 6293bec2eb
commit 5900e7ec6f
2 changed files with 4 additions and 4 deletions

View file

@ -10,11 +10,11 @@ describe <%= class_name %>Policy do
pending "add some examples to (or delete) #{__FILE__}"
end
permissions :create? do
permissions :show? do
pending "add some examples to (or delete) #{__FILE__}"
end
permissions :show? do
permissions :create? do
pending "add some examples to (or delete) #{__FILE__}"
end

View file

@ -5,10 +5,10 @@ class <%= class_name %>PolicyTest < ActiveSupport::TestCase
def test_scope
end
def test_create
def test_show
end
def test_show
def test_create
end
def test_update