Merge branch 'master' into polls
This commit is contained in:
@@ -59,4 +59,15 @@ describe "Abilities::Administrator" do
|
||||
|
||||
it { should be_able_to(:manage, Poll) }
|
||||
it { should be_able_to(:manage, Poll::Booth) }
|
||||
|
||||
it { should be_able_to(:create, Budget) }
|
||||
it { should be_able_to(:update, Budget) }
|
||||
|
||||
it { should be_able_to(:create, Budget::ValuatorAssignment) }
|
||||
|
||||
it { should be_able_to(:update, Budget::Investment) }
|
||||
it { should be_able_to(:hide, Budget::Investment) }
|
||||
|
||||
it { should be_able_to(:valuate, create(:budget_investment, budget: create(:budget, phase: 'valuating'))) }
|
||||
it { should be_able_to(:valuate, create(:budget_investment, budget: create(:budget, phase: 'finished'))) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user