Sha256: 83bac41227c98cce052c8ff54f964653f76474c7f28b32ecbe8d589066212b8c

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

# Read about factories at http://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :account, class: Laundry::PaymentsGateway::Client do
  	payment_method_id '1'
	  initialize_with do
	  	Laundry::PaymentsGateway::Account.from_response({get_payment_method_response: {get_payment_method_result: {payment_method: 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/accounts_factory.rb
laundry-0.0.6 spec/factories/accounts_factory.rb