test/overrides/data_mapper_test.rb in dm-devise-1.5.0 vs test/overrides/data_mapper_test.rb in dm-devise-2.0.0
- old
+ new
@@ -72,9 +72,13 @@
assert_equal email, user.email
user.save
assert_equal email.strip, user.email
end
+
+ # :as option is ActiveRecord-specific
+ undef :"test_should_update_password_with_valid_current_password_and_:as_option"
+ undef :"test_should_update_the_user_without_password_with_:as_option"
end
class ValidatableTest < ActiveSupport::TestCase
# user.save! is failing in these tests, since validation are running anyway.
# See https://github.com/datamapper/dm-validations/pull/13.