irhxig
Last Updated: February 25, 2016
·
1.178K
· mhenrixon
C6395b675eb093a900055bc16eed2225

Multilingual Capybara Specs

def login(user)
  visit hosted_domain path: admin_login_path

  fill_in I18n.t(:email), with: user.email
  fill_in I18n.t(:password), with: user.password
  click_button I18n.t(:login)
end
Say Thanks
Respond