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

login_helper.rb may need a second look #328

Open
akshay1dhingra opened this issue Jan 11, 2019 · 0 comments
Open

login_helper.rb may need a second look #328

akshay1dhingra opened this issue Jan 11, 2019 · 0 comments

Comments

@akshay1dhingra
Copy link

According to params the only way to make these tests pass is if the password fields are written as such for these two methods

def user_login
select 'Mindy',from:'user_name'
fill_in("user[password]", :with => "password")
click_button('Sign In')
end

def admin_login
select 'Walt Disney',from:'user_name'
fill_in("user[password]", :with => "password")
click_button('Sign In')
end

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