diff --git a/spec/system/sign_in_spec.rb b/spec/system/sign_in_spec.rb index df0e4f02..6c194207 100644 --- a/spec/system/sign_in_spec.rb +++ b/spec/system/sign_in_spec.rb @@ -23,7 +23,7 @@ RSpec.describe 'Sign In' do fill_in 'Password', with: 'wrong_password' click_button 'Sign In' - expect(page).to have_content('Invalid Email or password') + expect(page).to have_content('Invalid email or password') expect(page).not_to have_content('Document Templates') end end @@ -51,7 +51,7 @@ RSpec.describe 'Sign In' do fill_in 'Two-Factor Code from Authenticator App', with: '123456' click_button 'Sign In' - expect(page).to have_content('Invalid Email or password') + expect(page).to have_content('Invalid email or password') expect(page).not_to have_content('Document Templates') end end