Updates texts for tests

This commit is contained in:
Alberto Garcia Cabeza
2015-10-28 14:03:02 +01:00
parent f675816de2
commit 2b5a184bfe
3 changed files with 3 additions and 3 deletions

View File

@@ -139,7 +139,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"
expect(page).to have_content "You have already supported this proposal. Share it!"
expect(current_path).to eq(management_proposal_path(proposal))
end

View File

@@ -81,7 +81,7 @@ feature 'Verify Letter' do
fill_in "verification_letter_verification_code", with: "12345"
click_button "Verify my account"
expect(page).to have_content "Your account has been verified"
expect(page).to have_content "Account verified"
expect(current_path).to eq(account_path)
end

View File

@@ -267,7 +267,7 @@ feature 'Votes' do
within("#proposal_#{@proposal.id}") do
find('.in-favor a').click
expect(page).to have_content "You already supported this proposal, share it!"
expect(page).to have_content "You have already supported this proposal. Share it!"
end
expect(current_path).to eq(proposals_path)
end