Skip to content

Commit 4ccb36f

Browse files
committed
Fix typo in authentication specs
Add missing "r" letter: erros -> errors
1 parent a8f8d4f commit 4ccb36f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/spec/system/authentication/sign_in_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
RSpec.feature 'Sign In', type: :system do
66
include_context "featured products"
7-
7+
88
background do
99
@user = create(:user, email: 'email@person.com', password: 'secret', password_confirmation: 'secret')
1010
visit login_path
@@ -21,7 +21,7 @@
2121
expect(current_path).to eq '/'
2222
end
2323

24-
scenario 'show validation erros' do
24+
scenario 'show validation errors' do
2525
fill_in 'Email', with: @user.email
2626
fill_in 'Password:', with: 'wrong_password'
2727
click_button 'Login'

0 commit comments

Comments
 (0)