Sha256: 51dbf44737777cf5c52d7173e5b10480c09f0ce18550c3a2581f6a2bd9c068f8
Contents?: true
Size: 362 Bytes
Versions: 2
Compression:
Stored size: 362 Bytes
Contents
# Read about factories at http://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :client, class: Laundry::PaymentsGateway::Client do client_id '1' initialize_with do Laundry::PaymentsGateway::Client.from_response({get_client_response: {get_client_result: {client_record: attributes}}}, FactoryGirl.build(:merchant)) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
laundry-0.0.7 | spec/factories/clients_factory.rb |
laundry-0.0.6 | spec/factories/clients_factory.rb |