Sha256: c5ec631d92d573ab45525365a11e94e5a4d7ae3195ad728c45574bbca28c87e6
Contents?: true
Size: 950 Bytes
Versions: 69
Compression:
Stored size: 950 Bytes
Contents
# Configure Rails Envinronment ENV["RAILS_ENV"] ||= "test" ENV["RAILS_ENV"] = "#{ ENV["RAILS_ENV"] }_#{ ENV['DB'] }" if ENV['DB'] # Do not check ImageMagick<=>Rmagick versions RMAGICK_BYPASS_VERSION_TEST = true require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rspec/rails" ActionMailer::Base.delivery_method = :test ActionMailer::Base.perform_deliveries = true ActionMailer::Base.default_url_options[:host] = "test.com" Rails.backtrace_cleaner.remove_silencers! # Configure capybara for integration testing require "capybara/rails" Capybara.default_driver = :rack_test Capybara.default_selector = :css # FIXME orm ActiveRecord::Migration.verbose = false # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load Factories require 'factory_girl' Dir["#{File.dirname(__FILE__)}/factories/*.rb", "#{File.dirname(__FILE__)}/../*/spec/factories/*.rb"].each {|f| require f}
Version data entries
69 entries across 69 versions & 1 rubygems