fixes spec

This commit is contained in:
rgarcia
2016-03-29 17:36:31 +02:00
parent 6f723a871f
commit d5453f1733
5 changed files with 12 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ describe "Abilities::Common" do
it { should be_able_to(:create, SpendingProposal) }
it { should_not be_able_to(:destroy, create(:spending_proposal)) }
it { should be_able_to(:destroy, own_spending_proposal) }
it { should_not be_able_to(:destroy, own_spending_proposal) }
end
describe "when level 3 verified" do
@@ -104,6 +104,6 @@ describe "Abilities::Common" do
it { should be_able_to(:create, SpendingProposal) }
it { should_not be_able_to(:destroy, create(:spending_proposal)) }
it { should be_able_to(:destroy, own_spending_proposal) }
it { should_not be_able_to(:destroy, own_spending_proposal) }
end
end