test/support/integration.rb in devise-4.4.1 vs test/support/integration.rb in devise-4.4.2
- old
+ new
@@ -17,9 +17,10 @@
created_at: Time.now.utc
)
user.update_attribute(:confirmation_sent_at, options[:confirmation_sent_at]) if options[:confirmation_sent_at]
user.confirm unless options[:confirm] == false
user.lock_access! if options[:locked] == true
+ User.validations_performed = false
user
end
end
def create_admin(options={})