Adds an administration interface for the proposal dashboard actions.
This commit is contained in:
Juan Salvador Pérez García
2018-06-11 18:26:18 +02:00
parent d9f85bd756
commit 1464bddfa8
26 changed files with 619 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ describe Abilities::Common do
it { should be_able_to(:destroy, own_budget_investment_image) }
it { should_not be_able_to(:destroy, budget_investment_image) }
it { is_expected.not_to be_able_to(:manage, ProposalDashboardAction) }
describe 'flagging content' do
it { should be_able_to(:flag, debate) }