Sha256: 1bc1a8008f7e2acfc7e770fd761d47cfd074cceca908ccaf290c43106175a411
Contents?: true
Size: 561 Bytes
Versions: 2
Compression:
Stored size: 561 Bytes
Contents
# == Schema Information # # Table name: purchases # # id :integer not null, primary key # paid :boolean # commission :decimal(, ) # quantity :integer # state :string # expired_at :datetime # amount :decimal(, ) # description :text # created_at :datetime not null # updated_at :datetime not null # FactoryBot.define do factory :purchase do paid true commission 1000.99 quantity 1 expired_at "1984-04-06 09:00" amount 2_000_000.95 description "Just a text" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
human_attributes-0.6.0 | spec/dummy/spec/factories/purchases.rb |
human_attributes-0.5.0 | spec/dummy/spec/factories/purchases.rb |