Sha256: 2ae9b006bd3dbec006ac1061ae70f672610c49994a8471a9b8e00d23bda6d5ac
Contents?: true
Size: 904 Bytes
Versions: 7
Compression:
Stored size: 904 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) ENV["RAILS_ENV"] ||= 'test' ruby_engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : "ruby" if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/ and ruby_engine != "jruby" require 'simplecov' SimpleCov.start do root File.expand_path(File.dirname(__FILE__) + "../../..") end end require File.expand_path("config/environment", ENV['RAILS_ROOT'] || File.expand_path("../internal", __FILE__)) require 'rspec/rails' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. # Blacklight, again, make sure we're looking in the right place for em. # Relative to HERE, NOT to Rails.root, which is off somewhere else. Dir[Pathname.new(File.expand_path("../support/**/*.rb", __FILE__))].each {|f| require f} RSpec.configure do |config| end
Version data entries
7 entries across 7 versions & 2 rubygems