Sha256: 5e0a1bbeffee0e7a7f0661f891027fd9e1d2fb8bed3bd1c9087a91bf0dbd4824

Contents?: true

Size: 808 Bytes

Versions: 28

Compression:

Stored size: 808 Bytes

Contents

require 'simplecov'
SimpleCov.start do
  # add_filter do |source_file|
  #   # source_file.lines.count < 5
  #   source.filename =~ /^#{SimpleCov.root}\/chef-provisioning-fake/)
  # end
end

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    # Prevents you from mocking or stubbing a method that does not exist on
    # a real object. This is generally recommended, and will default to
    # `true` in RSpec 4.
    mocks.verify_partial_doubles = true
  end

  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.expect_with(:rspec) { |c| c.syntax = :expect }

  #Chef::Log.level = :debug
  # Chef::Config[:log_level] = :warn
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
chef-provisioning-2.7.6 spec/spec_helper.rb
chef-provisioning-2.7.4 spec/spec_helper.rb
chef-provisioning-2.7.2 spec/spec_helper.rb
chef-provisioning-2.7.1 spec/spec_helper.rb
chef-provisioning-2.7.0 spec/spec_helper.rb
chef-provisioning-2.6.0 spec/spec_helper.rb
chef-provisioning-2.5.0 spec/spec_helper.rb
chef-provisioning-2.4.0 spec/spec_helper.rb
chef-provisioning-2.3.2 spec/spec_helper.rb
chef-provisioning-2.3.1 spec/spec_helper.rb
chef-provisioning-2.3.0 spec/spec_helper.rb
chef-provisioning-2.2.1 spec/spec_helper.rb
chef-provisioning-2.2.0 spec/spec_helper.rb
chef-provisioning-2.1.1 spec/spec_helper.rb
chef-provisioning-2.1.0 spec/spec_helper.rb
chef-provisioning-2.0.2 spec/spec_helper.rb
chef-provisioning-2.0.0 spec/spec_helper.rb
chef-provisioning-1.9.1 spec/spec_helper.rb
chef-provisioning-1.9.0 spec/spec_helper.rb
chef-provisioning-1.8.1 spec/spec_helper.rb