Sha256: a6a62ba3a4a75c12c7c12a4a399d3594fdd5dbbfe2eb78ca34e730017194ecfa
Contents?: true
Size: 960 Bytes
Versions: 10
Compression:
Stored size: 960 Bytes
Contents
require 'rubygems' require 'spork' Spork.prefork do unless ENV['DRB'] require 'simplecov' SimpleCov.start 'rails' require "codeclimate-test-reporter" CodeClimate::TestReporter.start end # Configure Rails Environment ENV["RAILS_ENV"] ||= 'test' # Load dummy app require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' # Load support files Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } # Show all of the backtraces Rails.backtrace_cleaner.remove_silencers! 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!) 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
10 entries across 10 versions & 1 rubygems