Sha256: 1b98d0cc2139db1c3269ddbbf77cd36885d3f7d805e811e289899397bb724470

Contents?: true

Size: 540 Bytes

Versions: 3

Compression:

Stored size: 540 Bytes

Contents

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

FactoryGirl.define do
  factory :transaction, :class => 'AuthNetReceiver::Transaction' do
    association :raw_transaction, :factory => :auth_net_receiver_raw_transaction
    transaction_id 1
    subscription_id 1
    subscription_paynum 1
    invoice_num "MyString"
    transaction_type "MyString"
    amount 9.99
    card_type "MyString"
    account_number "MyString"
    description "MyString"
    response_reason_code 1
    response_reason_text "MyString"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
auth_net_receiver-1.0.beta3 spec/factories/auth_net_receiver_transactions.rb
auth_net_receiver-1.0.beta2 spec/factories/auth_net_receiver_transactions.rb
auth_net_receiver-1.0.beta1 spec/factories/auth_net_receiver_transactions.rb