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

Version Path
record_history-0.9.1 spec/factories/record_history_models.rb
record_history-0.9.0 spec/factories/record_history_models.rb
record_history-0.8.9 spec/factories/record_history_models.rb
record_history-0.8.8 spec/factories/record_history_models.rb
record_history-0.8.7 spec/factories/record_history_models.rb
record_history-0.8.6 spec/factories/record_history_models.rb
record_history-0.8.5 spec/factories/record_history_models.rb
record_history-0.8.4 spec/factories/record_history_models.rb
record_history-0.8.3 spec/factories/record_history_models.rb
record_history-0.8.2 spec/factories/record_history_models.rb