Sha256: d7c2f7c0081d987bc75cc7cdce03f4e6b8810894f04946d23195fecd5e3c36c8
Contents?: true
Size: 684 Bytes
Versions: 2
Compression:
Stored size: 684 Bytes
Contents
FactoryGirl.define do # Example adding this to your spec_helper will load these Factories for use: # require 'spree_ebsin/factories' factory :ebs_payment_method, :class => Spree::PaymentMethod::Ebsin do name 'Credit Card / Debit Card / Net Banking' active true display_on '' after(:create) do |payment_method| payment_method.preferred_currency_code = "INR" payment_method.preferred_secret_key = "ebskey" payment_method.preferred_url = "https://secure.ebs.in/pg/ma/payment/request" payment_method.preferred_account_id = "5880" payment_method.preferred_mode = "TEST" payment_method.preferred_channel = 0 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_ebsin-3.1.1.2 | lib/spree_ebsin/factories.rb |
spree_ebsin-3.1.1.1 | lib/spree_ebsin/factories.rb |