Updates texts for tests
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user