i have one problem. I’m just trying to get the
restful_authentication plugin work, but i discovered
that its rspec tests are not working, because of this:
it ‘requires password confirmation’ do
u = Factory.create_user(:password_confirmation =>
end.should_not change(User, :count)
where in the user model i have a simple:
Autotest continues to tell me that:
ActiveRecord::RecordInvalid in ‘User requires password
Validation failed: Password confirmation can’t be
The question is: how can i test both the presence of
error and the change on count?
Thanks in advance,
Inviato da Yahoo! Mail.
Tanti modi per restare in contatto con chi vuoi.