Sha256: 9c2d286630ebd275bb7f99abeb7d210dd2faaa13adb5211d672195c775415cde

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

ENV['RAILS_ENV'] = 'test'
ENV['DISABLE_DATABASE_ENVIRONMENT_CHECK'] = '1'

Bundler.setup

require 'rails'
require 'solidus_core'

Bundler.require(:default, :test)

module DummyApp
  class Application < ::Rails::Application
    config.eager_load               = false
    config.paths["config/database"] = File.expand_path('../dummy_app/database.yml', __FILE__)
  end
end

DummyApp::Application.initialize!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_support-0.2.2 spec/support/dummy_app.rb