cleans up
This commit is contained in:
@@ -3,7 +3,6 @@ class Management::ProposalsController < Management::BaseController
|
||||
include CommentableActions
|
||||
|
||||
before_action :check_verified_user, except: :print
|
||||
|
||||
before_action :set_proposal, only: :vote
|
||||
before_action :parse_search_terms, only: :index
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ feature 'Proposals' do
|
||||
find('.in-favor a').click
|
||||
|
||||
expect(page).to have_content "1 support"
|
||||
expect(page).to have_content "You already supported this proposal, share it!"
|
||||
expect(page).to have_content "You already supported this proposal"
|
||||
end
|
||||
expect(URI.parse(current_url).path).to eq(management_proposals_path)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user