Sha256: b130fafd2581039d3113ae2d3d6f8be40f1a32ef89499783b9d5b1f6c21c2ee7

Contents?: true

Size: 777 Bytes

Versions: 4

Compression:

Stored size: 777 Bytes

Contents

require 'simplecov'
if ENV['COVERAGE']
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
else
  SimpleCov.start
end
require 'pry'
require 'bundler/setup'
require 'combustion'

Combustion.initialize! :all

require 'rspec/rails'
require 'scorpion'

root_path = File.expand_path( "../..", __FILE__ )

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[ File.join( root_path, "spec/support/**/*.rb" ) ].each { |f| require f }

RSpec.configure do |config|

  config.order = "random"

  config.filter_run focus: true
  config.filter_run_excluding :broken => true
  config.run_all_when_everything_filtered = true

  config.before(:each)  { GC.disable }
  config.after(:each)   { GC.enable }

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scorpion-ioc-0.3.1 spec/spec_helper.rb
scorpion-ioc-0.3.0 spec/spec_helper.rb
scorpion-ioc-0.2.0 spec/spec_helper.rb
scorpion-ioc-0.1.0 spec/spec_helper.rb