** Pastebin PRO Accounts Spring Special ** Get 40% discount for a limited time only! Click Here to check it out ;-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Jan 3rd, 2013  |  syntax: None  |  size: 0.24 KB  |  views: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. user = User.create({username: "user1", password: "pass1234", password_confirmation: "pass1234", email: "test@email.com"})
  2. user.confirm!
  3. fill_in "Username", :with => user.username
  4. fill_in "Password", :with => user.password
  5. click_button "Sign in"
clone this paste RAW Paste Data