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