From 2b5a184bfe17ddad5b26e59825a8788c348b4dd2 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Wed, 28 Oct 2015 14:03:02 +0100 Subject: [PATCH] Updates texts for tests --- spec/features/management/proposals_spec.rb | 2 +- spec/features/verification/letter_spec.rb | 2 +- spec/features/votes_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/management/proposals_spec.rb b/spec/features/management/proposals_spec.rb index f5c3071f5..e33c1a179 100644 --- a/spec/features/management/proposals_spec.rb +++ b/spec/features/management/proposals_spec.rb @@ -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 diff --git a/spec/features/verification/letter_spec.rb b/spec/features/verification/letter_spec.rb index 273a6d40f..50635a73c 100644 --- a/spec/features/verification/letter_spec.rb +++ b/spec/features/verification/letter_spec.rb @@ -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 diff --git a/spec/features/votes_spec.rb b/spec/features/votes_spec.rb index a894c8ab4..776cfabb4 100644 --- a/spec/features/votes_spec.rb +++ b/spec/features/votes_spec.rb @@ -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