namick/with_model — comment on commit 861a1a4eef042db411f26a95aea46742d525dc77
File:  line 0
By namick:

The spec above currently produces this error:

Failures:

1) ActiveRecord behaviors with has_secure_password should be able to be authenticated
Failure/Error: user = User.create!(:email => 'test@test.com', :password => 'foobar', :password_confirmation => 'foobar')
ActiveRecord::StatementInvalid:
NoMethodError: undefined method `error' for nil:NilClass: INSERT INTO "with_model_users_27596" ("email", "password_digest") VALUES (?, ?)
# ./spec/active_record_behaviors_spec.rb:148:in `block (3 levels) in '

Finished in 1.54 seconds
55 examples, 1 failure