Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user = User.create({username: "user1", password: "pass1234", password_confirmation: "pass1234", email: "test@email.com"})
- user.confirm!
- fill_in "Username", :with => user.username
- fill_in "Password", :with => user.password
- click_button "Sign in"
Add Comment
Please, Sign In to add comment