Sha256: a5e32e82679df6091a1355e78d10c971870dcb628bf99ccb1d202c92d6a74840
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
require 'rubygems' require 'spork' Spork.prefork do unless ENV['DRB'] require 'simplecov' SimpleCov.start 'rails' require "codeclimate-test-reporter" CodeClimate::TestReporter.start end ENV["RAILS_ENV"] ||= 'test' # Load dummy app require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'rspec/autorun' Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } RSpec.configure do |config| config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false config.order = "random" end Spork.trap_method(Rails::Application, :eager_load!) # Load dummy app require File.expand_path("../dummy/config/environment.rb", __FILE__) Rails.application.railties.all { |r| r.eager_load! } # Show all of the backtraces Rails.backtrace_cleaner.remove_silencers! end Spork.each_run do if ENV['DRB'] require 'simplecov' SimpleCov.start 'rails' require "codeclimate-test-reporter" CodeClimate::TestReporter.start end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
g5_sibling_deployer_engine-0.2.6 | spec/spec_helper.rb |