Sha256: 9b39d73a5aeedff4056417845274f609dc2e0a7f572b95a7a90c3f6566bd9951
Contents?: true
Size: 381 Bytes
Versions: 10
Compression:
Stored size: 381 Bytes
Contents
FactoryGirl.define do factory :record_history_model do item_type { 'SomeData' } item_id { Factory.create(:some_data).id } attr_name { Faker::Lorem.words(1).first } old_value_dump { Marshal.dump(Faker::Base.numerify('##')) } new_value_dump { Marshal.dump(Faker::Base.numerify('##')) } author_type { 'User'} author_id { Factory.create(:user) } end end
Version data entries
10 entries across 10 versions & 1 rubygems