Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

~/spec/features/sign_in_spec.rb error? #1

Open
RalphShnelvar opened this issue Jun 25, 2017 · 0 comments
Open

~/spec/features/sign_in_spec.rb error? #1

RalphShnelvar opened this issue Jun 25, 2017 · 0 comments

Comments

@RalphShnelvar
Copy link

RalphShnelvar commented Jun 25, 2017

I believe in ~/spec/features/sign_in_spec.rb error?
expect(page).to have_content 'Invalid email or password.'
should be
expect(page).to have_content 'Invalid Email or password.'

The message I get from rspec is
`Failures:

  1. Sign in user cannot sign in if not registered
    Failure/Error: expect(page).to have_content 'Invalid email or password.'
    expected to find text "Invalid email or password." in "Invalid Email or password. Log in Email Password Remember me Sign up Forgot your password?". (However, it was found 1 time using a case insensitive search.)`

If I use "'Invalid Email or password'" then I get
`Finished in 0.76773 seconds (files took 1.76 seconds to load)

6 examples, 0 failures, 2 pending`

Repository owner deleted a comment from truth4you Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant