Sha256: ab37235e1e9b62d363f4f1542bc98d24b2ab9e125b1a131d541c901355310e38
Contents?: true
Size: 604 Bytes
Versions: 20
Compression:
Stored size: 604 Bytes
Contents
class CreateBogusGateway < ActiveRecord::Migration def self.up gateway = Gateway.create(:name => "Bogus Gateway", :clazz => "Spree::BogusGateway", :description => "Simple ActiveMerchant compliant gateway that always approves credit card purchases. Use credit card number: 4111111111111111, card type: visa, and card code: 123.") configuration = GatewayConfiguration.create(:id => 1, :gateway => gateway) end def self.down end end
Version data entries
20 entries across 20 versions & 2 rubygems