Sha256: d5e3a7ad80728c987b6dafaed4bb1b8b1e9ac625af5c9346d61ae45b45fd55ff

Contents?: true

Size: 224 Bytes

Versions: 4

Compression:

Stored size: 224 Bytes

Contents

FactoryGirl.define do
  factory :category, class: ExpenseGun::Category do
    name           { Faker::Lorem.word       }
    code           { Faker::Number.number(4) }
    vat_deductible { [true, false].sample    }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
expense_gun-1.0.3 spec/factories/expense_gun_category.rb
expense_gun-1.0.2 spec/factories/expense_gun_category.rb
expense_gun-1.0.1 spec/factories/expense_gun_category.rb
expense_gun-1.0.0 spec/factories/expense_gun_category.rb