Sha256: c2d4df81a3f889fb1b10f671deedccb7be33f755cdbbefd8075917cc23e101f9
Contents?: true
Size: 466 Bytes
Versions: 30
Compression:
Stored size: 466 Bytes
Contents
FactoryGirl.define do factory :mno_enterprise_arrears_situation, :class => 'MnoEnterprise::ArrearsSituation' do factory :arrears_situation, class: MnoEnterprise::ArrearsSituation do sequence(:name) { |n| "Team#{n}" } payment Money.new(5680,'AUD') category 'payment_failed' status 'pending' # Properly build the resource with Her initialize_with { new(attributes).tap { |e| e.clear_attribute_changes! } } end end end
Version data entries
30 entries across 30 versions & 1 rubygems