Skip to content

Instantly share code, notes, and snippets.

@wesgarrison
Last active December 16, 2015 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesgarrison/5507124 to your computer and use it in GitHub Desktop.
Save wesgarrison/5507124 to your computer and use it in GitHub Desktop.
swedish chef
it "should be able login as a user" do
visit '/'
page.should have_content "Log In Here"
fill_in 'email', :with => user.email
fill_in 'password', :with => 'Password1'
click_button 'Log in'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment