Sha256: 9465df17be316476ba94ea74e8c249f913777d093952c35559f1cbe3157eb3ac

Contents?: true

Size: 695 Bytes

Versions: 6

Compression:

Stored size: 695 Bytes

Contents

require 'rubygems'
require "bundler/setup"

require 'pry'

require 'rolify'
require 'rolify/matchers'
require 'rails/all'
require_relative 'support/stream_helpers'
include StreamHelpers

require 'coveralls'
Coveralls.wear_merged!

require 'common_helper'

ENV['ADAPTER'] ||= 'active_record'

if ENV['ADAPTER'] == 'active_record'
  load File.dirname(__FILE__) + '/support/adapters/utils/active_record.rb'
  require 'active_record/railtie'
  establish_connection
else
  load File.dirname(__FILE__) + '/support/adapters/utils/mongoid.rb'
  load_mongoid_config
end

module TestApp
  class Application < ::Rails::Application
    config.root = File.dirname(__FILE__)
  end
end

require 'ammeter/init'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rolify-6.0.1 spec/generators_helper.rb
rolify-6.0.0 spec/generators_helper.rb
rolify-5.3.0 spec/generators_helper.rb
rolify-5.2.0 spec/generators_helper.rb
rolify-5.1.0 spec/generators_helper.rb
rolify-5.0.0 spec/generators_helper.rb