Sha256: 037d3f84fa64865218be17934fcd61838ac370aec44a2098040e738fb91398e0

Contents?: true

Size: 662 Bytes

Versions: 154

Compression:

Stored size: 662 Bytes

Contents

PROJECT_ROOT = File.join(File.dirname(__FILE__), '..')

if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start do
    add_filter "/spec/"
  end
end

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'

  config.before do
    Semantic::Dependency.instance_variable_set(:@sources, nil)
  end
end

Version data entries

154 entries across 154 versions & 2 rubygems

Version Path
puppet-retrospec-1.5.0 vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-retrospec-1.4.1 vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-retrospec-1.4.0 vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-retrospec-1.3.2 vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-retrospec-1.3.1 vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-retrospec-1.3.0 vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.2 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.2-x86-mingw32 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.2-x64-mingw32 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.2-universal-darwin lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.7.1 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.7.1-x86-mingw32 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.7.1-x64-mingw32 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.7.1-universal-darwin lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.1 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.1-x86-mingw32 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.1-x64-mingw32 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.1-universal-darwin lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.0 lib/puppet/vendor/semantic/spec/spec_helper.rb
puppet-4.8.0-x86-mingw32 lib/puppet/vendor/semantic/spec/spec_helper.rb