Guest User

Untitled

a guest
Apr 16th, 2018
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. it "should authenticate with matching email and password" do
  2. user = Factory(:user, :email => "foo@example.com", :plain_password => "secret")
  3. User.authenticate("foo@example.com", "secret").should == user
  4. end
Add Comment
Please, Sign In to add comment