spec/factories/users.rb in hubstats-0.5.4 vs spec/factories/users.rb in hubstats-0.5.5
- old
+ new
@@ -2,15 +2,15 @@
FactoryGirl.define do
factory :user, :class => Hubstats::User do
login { Faker::Internet.user_name }
id {|n| "#{n}".to_i}
role "User"
+ created_at '2015-05-30'
end
factory :user_hash, class:Hash do
login { Faker::Internet.user_name }
id {|n| "#{n}".to_i}
role "User"
-
initialize_with { attributes }
end
end