Sha256: 2882d8228181ee5b998d7567085659765a7adf98532a14e6460b89fe1e3aef38
Contents?: true
Size: 1001 Bytes
Versions: 36
Compression:
Stored size: 1001 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" require 'rubygems' require 'bundler' require File.expand_path("../../initializers/notifier.rb", __FILE__) require File.expand_path("../../initializers/hotpatches/subclasses.rb", __FILE__) begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'test/unit' require 'shoulda' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load fixtures from the engine if ActiveSupport::TestCase.method_defined?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) end
Version data entries
36 entries across 36 versions & 1 rubygems