Sha256: 328696d91ce08dfa9892bd84d6a5e21d1a1010a34bfb1fb7877da35ae16dd98c

Contents?: true

Size: 726 Bytes

Versions: 2

Compression:

Stored size: 726 Bytes

Contents

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

require 'rubygems'

require 'simplecov'
SimpleCov.start

require 'bundler/setup'
require 'active_support/core_ext'
require 'mongoid'
require 'database_cleaner'
require 'factory_girl'
require 'mongoid-rspec'

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

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

2 entries across 2 versions & 1 rubygems

Version Path
rails_admin_settings-0.5.5 spec/spec_helper.rb
rails_admin_settings-0.5.4 spec/spec_helper.rb