Sha256: 7720e3ccc3450dbaaf9dc3220952159991033bf85d52062899ea7bff1eae492d

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

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

FactoryGirl.define do
	factory :transaction_response, class: Laundry::PaymentsGateway::TransactionResponse do
		pg_response_type "A"
		initialize_with { Laundry::PaymentsGateway::TransactionResponse.from_response(attributes, FactoryGirl.build(:merchant)) }
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
laundry-0.0.7 spec/factories/transaction_response_factory.rb
laundry-0.0.6 spec/factories/transaction_response_factory.rb