Sha256: 6e493b7be4ce1eeb162b1cc96443dd50c11b3e9a6b5b7da59d198e69975173d0

Contents?: true

Size: 260 Bytes

Versions: 6

Compression:

Stored size: 260 Bytes

Contents

FactoryGirl.define do
  factory :invoice_bar_user, class: InvoiceBar::User do
    name { generate :invoice_bar_name }
    email { Faker::Internet.email }
    ic { generate :invoice_bar_ic }
    
    address { FactoryGirl.build(:invoice_bar_address) }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
invoice_bar-0.0.6 test/factories/invoice_bar_user.rb
invoice_bar-0.0.5 test/factories/invoice_bar_user.rb
invoice_bar-0.0.4 test/factories/invoice_bar_user.rb
invoice_bar-0.0.3 test/factories/invoice_bar_user.rb
invoice_bar-0.0.2 test/factories/invoice_bar_user.rb
invoice_bar-0.0.1 test/factories/invoice_bar_user.rb