Skip to content

Commit

Permalink
Fix some validation specs. Still some failing, though. [#19]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Oct 13, 2009
1 parent 068cffe commit e6b77d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/user_spec.rb
Expand Up @@ -308,7 +308,7 @@ def u(array)

protected
def create_user(options = {})
record = User.make({:email => 'quire@example.com', :password => 'quire', :password_confirmation => 'quire'}.merge(options))
record = User.make_unsaved({:email => 'quire@example.com', :password => 'quire', :password_confirmation => 'quire'}.merge(options))
record.save
record
end
Expand Down

0 comments on commit e6b77d4

Please sign in to comment.