cleans up

This commit is contained in:
rgarcia
2015-10-08 18:27:26 +02:00
parent 36875f8211
commit 33ee1a159f
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -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