Guest User

Untitled

a guest
Aug 16th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. What is the best way of organizing Rails functional and unit test cases?
  2. describe "#generate_password_salt" do
  3. user = User.new(password: 'foobar')
  4. user.generate_password_salt.should == '1231asdas'
  5. end
  6.  
  7. describe "when creating new user" do
  8. it "should generate password salt" do
  9. ...
  10. end
  11. end
Add Comment
Please, Sign In to add comment