Skip to content

Commit dd5e46b

Browse files
committed
fix: update spec
1 parent 6099541 commit dd5e46b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

variants/devise/spec/system/user_sign_in_feature_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
# we expect to still be on the sign-in page with a helpful flash message
100100
# telling us something went wrong
101101
expect(page).to have_current_path(new_user_session_path, ignore_query: true)
102-
expect(page).to have_text("Invalid Email or password")
102+
expect(page).to have_text("Invalid email or password")
103103
end
104104
end
105105
end

variants/devise/spec/system/user_sign_up_feature_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
describe "password validation" do
5252
it "users are informed about the password length requirements" do
5353
# we expect the sign-in page to display a message about password requirements
54-
expect(page).to have_text("Password (16 characters minimum)")
54+
expect(page).to have_text("password (16 characters minimum)")
5555
end
5656

5757
it "passwords are validated for length" do

0 commit comments

Comments
 (0)