[rspec-users] mongo_mapper validations, rpsec

Chris Habgood chabgood at gmail.com
Sun Sep 4 19:06:13 EDT 2011

Sorry,  it fails validation which it should but it errors out in the cli as
opposed to going along and checking, it does not get past the inital factory
new line:

Failure/Error: user = Factory(:user, :email=> '', :password => '')
       Validation failed: Password can't be blank, Email can't be blank,
Password digest can't be blank

On Sat, Sep 3, 2011 at 20:41, Nick <nick at deadorange.com> wrote:

> Hey Chris. Could you be more specific than "it blows up"? If there's a
> stack trace, that'd be helpful.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

*"In matters of style, swim with the current; in matters of principle, stand
like a rock."
Thomas Jefferson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110904/08819244/attachment.html>

More information about the rspec-users mailing list