Sha256: 1c3a9a3f7001df05cbd3e9e7826e6912585df949a55cee71b67f62bb0f3b6efe

Contents?: true

Size: 922 Bytes

Versions: 1

Compression:

Stored size: 922 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'rubygems'

require 'simplecov'
SimpleCov.start

require 'pry'
require 'bundler/setup'
require 'active_support'
require 'active_support/core_ext'

unless ENV['ACTIVERECORD']
  require 'mongoid'
end

require 'database_cleaner'
require 'factory_girl'
require 'mongoid-rspec'

require "glebtv-mongoid-paperclip" if ENV['UPLOADS'] == 'paperclip'
if ENV['UPLOADS'] == 'carrierwave'
  require "carrierwave/mongoid"
  CarrierWave.configure do |config|
    config.asset_host = proc do |file|
      "http://localhost"
    end
  end
end

I18n.enforce_available_locales = true 
I18n.load_path << File.join(File.dirname(__FILE__), "..", "config", "locales", "en.yml")

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each do |f|
  require f
end

require 'rails_admin_settings'

Dir["#{File.dirname(__FILE__)}/factories/**/*.rb"].each do |f|
  require f
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_admin_settings-1.1.4 spec/spec_helper.rb