diff --git a/spec/features/emails_spec.rb b/spec/features/emails_spec.rb index dd0d71f2c..af7674101 100644 --- a/spec/features/emails_spec.rb +++ b/spec/features/emails_spec.rb @@ -210,7 +210,7 @@ feature 'Emails' do email_digest.mark_as_emailed 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 have_body_text(proposal1.title) @@ -257,7 +257,7 @@ feature 'Emails' do expect(unread_emails_for("isable@example.com").count).to eq 1 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}/) end diff --git a/spec/features/localization_spec.rb b/spec/features/localization_spec.rb index 810d07503..2296aeb6c 100644 --- a/spec/features/localization_spec.rb +++ b/spec/features/localization_spec.rb @@ -6,7 +6,7 @@ feature 'Localization' do visit root_path(locale: :es) 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 scenario 'Available locales appear in the locale switcher' do diff --git a/spec/lib/email_digests_spec.rb b/spec/lib/email_digests_spec.rb index 6f15a92d4..8e0a16177 100644 --- a/spec/lib/email_digests_spec.rb +++ b/spec/lib/email_digests_spec.rb @@ -78,7 +78,7 @@ describe EmailDigest do email_digest.deliver email = open_last_email - expect(email).to have_subject("Proposal notifications in Consul") + expect(email).to have_subject("Proposal notifications in CONSUL") end it "does not deliver email if no notifications pending" do