updates texts on specs
This commit is contained in:
@@ -210,7 +210,7 @@ feature 'Emails' do
|
|||||||
email_digest.mark_as_emailed
|
email_digest.mark_as_emailed
|
||||||
|
|
||||||
email = open_last_email
|
email = open_last_email
|
||||||
expect(email).to have_subject("Proposal notifications in Consul")
|
expect(email).to have_subject("Proposal notifications in CONSUL")
|
||||||
expect(email).to deliver_to(user.email)
|
expect(email).to deliver_to(user.email)
|
||||||
|
|
||||||
expect(email).to have_body_text(proposal1.title)
|
expect(email).to have_body_text(proposal1.title)
|
||||||
@@ -257,7 +257,7 @@ feature 'Emails' do
|
|||||||
expect(unread_emails_for("isable@example.com").count).to eq 1
|
expect(unread_emails_for("isable@example.com").count).to eq 1
|
||||||
|
|
||||||
email = open_last_email
|
email = open_last_email
|
||||||
expect(email).to have_subject("Invitation to Consul")
|
expect(email).to have_subject("Invitation to CONSUL")
|
||||||
expect(email).to have_body_text(/#{new_user_registration_path}/)
|
expect(email).to have_body_text(/#{new_user_registration_path}/)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ feature 'Localization' do
|
|||||||
visit root_path(locale: :es)
|
visit root_path(locale: :es)
|
||||||
visit root_path(locale: :klingon)
|
visit root_path(locale: :klingon)
|
||||||
|
|
||||||
expect(page).to have_text('La ciudad que quieres será la ciudad que quieras.')
|
expect(page).to have_text('La ciudad que quieres será la ciudad que quieras')
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'Available locales appear in the locale switcher' do
|
scenario 'Available locales appear in the locale switcher' do
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ describe EmailDigest do
|
|||||||
email_digest.deliver
|
email_digest.deliver
|
||||||
|
|
||||||
email = open_last_email
|
email = open_last_email
|
||||||
expect(email).to have_subject("Proposal notifications in Consul")
|
expect(email).to have_subject("Proposal notifications in CONSUL")
|
||||||
end
|
end
|
||||||
|
|
||||||
it "does not deliver email if no notifications pending" do
|
it "does not deliver email if no notifications pending" do
|
||||||
|
|||||||
Reference in New Issue
Block a user