Sha256: 2088fcef7d8b4f96f6d8b4836f27e2e9384d27bfde8c2eea8e37f827f550cdc2

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

require_relative "boot"

require "rails/all"

require "pay"
require "pay/lago"
Bundler.require(*Rails.groups)

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.

    config.active_job.queue_adapter = :test
    config.action_mailer.default_url_options = {host: "localhost", port: 3000}

    # Remove warnings
    config.active_record.legacy_connection_handling = false if Rails.gem_version >= Gem::Version.new("6.1") && Rails.gem_version < Gem::Version.new("7.1.0.alpha")

    # Set the ActionMailer preview path to the gem test directory
    config.action_mailer.show_previews = true
    config.action_mailer.preview_path = Rails.root.join("../../test/mailers/previews")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pay-lago-0.1.1 test/dummy/config/application.rb
pay-lago-0.1.0 test/dummy/config/application.rb