test/factories/users.rb in devise_token_auth-1.1.0 vs test/factories/users.rb in devise_token_auth-1.1.1
- old
+ new
@@ -22,10 +22,10 @@
user.update_attribute(:confirmation_sent_at, evaluator.allow_unconfirmed_period - 1.day )
end
end
trait :facebook do
- uid { Faker::Number.number(10) }
+ uid { Faker::Number.number }
provider { 'facebook' }
end
trait :locked do
after(:create) { |user| user.lock_access! }