Sha256: c609ae02c0e83e1a92af591c508a23c7be7a498641f45509c10955dffb3e699f

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

require File.expand_path('../boot', __FILE__)

require 'rails/all'

Bundler.require(*Rails.groups)
require "tb_checkout"

module Dummy
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
    # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
    # config.time_zone = 'Central Time (US & Canada)'

    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
    # config.i18n.default_locale = :de

    ActiveMerchant::Billing::Base.mode = :test

    TbCheckout.configure do |config|
        config.gateway = ActiveMerchant::Billing::BogusGateway.new()
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tb_checkout-1.1.1 spec/dummy/config/application.rb
tb_checkout-1.1.0 spec/dummy/config/application.rb
tb_checkout-1.0.7 spec/dummy/config/application.rb
tb_checkout-1.0.6 spec/dummy/config/application.rb
tb_checkout-1.0.5 spec/dummy/config/application.rb
tb_checkout-1.0.4 spec/dummy/config/application.rb
tb_checkout-1.0.3 spec/dummy/config/application.rb