spec/acceptance/support/helpers.rb
# Put helper methods you need to be available in all tests here.
Put helper methods you need to be available in all tests here.
Put helper methods you need to be available in all tests here .
def sign_in(user)
    visit homepage
    within "form#login" do
      fill_in "user_username", with: user.username
      fill_in "user_password", with: user.password
      click_button "Sign In"
    end
  end
def sign_in ( user ) visit homepage within "form#login" do fill_in "user_username" , with : user . username fill_in "user_password" , with : user . password click_button "Sign In" end end
Put helper methods you need to be available in all tests here.
Put helper methods you need to be available in all tests here .
user
<not_specific>