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

Difference in user_login helper method and session new view in Solution and Master #61

Open
zcodedoc opened this issue May 22, 2018 · 1 comment

Comments

@zcodedoc
Copy link

The solution user_login tells capybara to fill in a field on a from:
fill_in("user[name]", :with => "Mindy")

Whereas the master branch user_login say to select the name from the drop-down menu:
select 'Mindy',from:'user_name'

This confused a student, b/c the solution for 'sessions/new view' doesn't have code for a drop-down menu, like the test expects and the demo example shows.

@coryjbergquist
Copy link

I noticed this as well. I'll be copying the rspec from the solution branch to make sure I have the correct tests.

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

2 participants