Fix legislation proposals flag actions

We were treating legislation proposals as if they were proposals,
omitting the "legislation" namespace, and so we were flagging/unflagging
proposals when we wanted to flag/unflag a legislation proposal.
This commit is contained in:
volcov
2019-10-11 01:23:27 -03:00
committed by Javi Martín
parent 0d7c2c7a7c
commit 09fd3ab44a
5 changed files with 24 additions and 21 deletions

View File

@@ -8,6 +8,7 @@ describe "Legislation Proposals" do
context "Concerns" do
it_behaves_like "notifiable in-app", :legislation_proposal
it_behaves_like "flaggable", :legislation_proposal
end
scenario "Only one menu element has 'active' CSS selector" do