adds abilities for SpendingProposals
This commit is contained in:
committed by
Juanjo Bazán
parent
fe32162c9f
commit
2c36ceb10c
@@ -28,6 +28,9 @@ describe "Abilities::Common" do
|
||||
it { should_not be_able_to(:vote, Proposal) }
|
||||
it { should_not be_able_to(:vote_featured, Proposal) }
|
||||
|
||||
it { should be_able_to(:index, SpendingProposal) }
|
||||
it { should be_able_to(:create, SpendingProposal) }
|
||||
|
||||
it { should_not be_able_to(:comment_as_administrator, debate) }
|
||||
it { should_not be_able_to(:comment_as_moderator, debate) }
|
||||
it { should_not be_able_to(:comment_as_administrator, proposal) }
|
||||
|
||||
Reference in New Issue
Block a user