test/test_helper.rb
# Add more helper methods to be used by all tests here...
# signs in a user
Add more helper methods to be used by all tests here
signs in a user
Add more helper methods to be used by all tests here signs in a user
def sign_in(one)
    puts users(one).email
    visit new_user_session_path
    fill_in "Email", with: users(one).email
    fill_in "Password", with: "password"
    click_on "Sign in"
  end
def sign_in ( one ) puts users ( one ) . email visit new_user_session_path fill_in "Email" , with : users ( one ) . email fill_in "Password" , with : "password" click_on "Sign in" end
Add more helper methods to be used by all tests here...
signs in a user
Add more helper methods to be used by all tests here ... signs in a user
one
<not_specific>