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:
parent
6293bec2eb
commit
5900e7ec6f
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue