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

Version Path
spree-enriquez-0.9.4 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.9.4 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.9.3 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.9.2 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.9.1 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.9.0 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.8.4 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.8.5 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.2.0 vendor/extensions/payment_gateway/db/migrate/005_create_bogus_gateway.rb
spree-0.4.0 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.4.1 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.5.0 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.6.0 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.5.1 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.7.0 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.7.1 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.8.0 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.8.1 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.8.2 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb
spree-0.8.3 vendor/extensions/payment_gateway/db/migrate/20080620120006_create_bogus_gateway.rb