Sha256: 78e30a97ec90cffddbe17fca3b7ee191d5fe8a2a0c53f61cedc9775e96cc1a20

Contents?: true

Size: 869 Bytes

Versions: 17

Compression:

Stored size: 869 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/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

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

17 entries across 17 versions & 1 rubygems

Version Path
rails_admin_settings-0.7.8 spec/spec_helper.rb
rails_admin_settings-0.7.7 spec/spec_helper.rb
rails_admin_settings-0.7.6 spec/spec_helper.rb
rails_admin_settings-0.7.5 spec/spec_helper.rb
rails_admin_settings-0.7.4 spec/spec_helper.rb
rails_admin_settings-0.7.3 spec/spec_helper.rb
rails_admin_settings-0.7.2 spec/spec_helper.rb
rails_admin_settings-0.7.1 spec/spec_helper.rb
rails_admin_settings-0.7.0 spec/spec_helper.rb
rails_admin_settings-0.6.8 spec/spec_helper.rb
rails_admin_settings-0.6.7 spec/spec_helper.rb
rails_admin_settings-0.6.5 spec/spec_helper.rb
rails_admin_settings-0.6.4 spec/spec_helper.rb
rails_admin_settings-0.6.3 spec/spec_helper.rb
rails_admin_settings-0.6.2 spec/spec_helper.rb
rails_admin_settings-0.6.1 spec/spec_helper.rb
rails_admin_settings-0.6.0 spec/spec_helper.rb