Sha256: 649cf13fa1810ec0a3c450e7482df3418677faddb405cf3c0caf4d346dea4cb0

Contents?: true

Size: 663 Bytes

Versions: 14

Compression:

Stored size: 663 Bytes

Contents

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

require 'shog'

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

14 entries across 14 versions & 1 rubygems

Version Path
shog-0.2.1 spec/spec_helper.rb
shog-0.2.0 spec/spec_helper.rb
shog-0.1.9 spec/spec_helper.rb
shog-0.1.8 spec/spec_helper.rb
shog-0.1.7 spec/spec_helper.rb
shog-0.1.6 spec/spec_helper.rb
shog-0.1.5 spec/spec_helper.rb
shog-0.1.4 spec/spec_helper.rb
shog-0.1.3 spec/spec_helper.rb
shog-0.1.2 spec/spec_helper.rb
shog-0.1.1 spec/spec_helper.rb
shog-0.1.0 spec/spec_helper.rb
shog-0.0.2 spec/spec_helper.rb
shog-0.0.1pre spec/spec_helper.rb