You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have upgraded rails version 4.0.12 to 4.1.14. While running test cases(or validating object through rails console), I could see same validation message twice for an email and password.
Failure:
UserTest#test_valid_email_address
Minitest::Assertion: Email xcvkktt should be invalid.
Expected: "is invalid"
Actual: "is invalid; is invalid
And also my user model is associated to person model:
belongs_to :person, :autosave => true
And these validation messages is appended to person model also.
Any ideas why these is happening?
The text was updated successfully, but these errors were encountered:
I have upgraded rails version 4.0.12 to 4.1.14. While running test cases(or validating object through rails console), I could see same validation message twice for an email and password.
Failure:
UserTest#test_valid_email_address
Minitest::Assertion: Email xcvkktt should be invalid.
Expected: "is invalid"
Actual: "is invalid; is invalid
Environment:
rails: 4.1.14,
ruby: 2.1.6
Gems:
gem 'devise',
gem 'devise_ldap_authenticatable',
gem 'devise_security_extension',
gem 'rails_email_validator'
Dependancies: minitest (5.8.4)
And also my user model is associated to person model:
belongs_to :person, :autosave => true
And these validation messages is appended to person model also.
Any ideas why these is happening?
The text was updated successfully, but these errors were encountered: