diff --git a/spec/spec_helper_local.rb b/spec/spec_helper_local.rb deleted file mode 100644 index c982acc..0000000 --- a/spec/spec_helper_local.rb +++ /dev/null @@ -1,27 +0,0 @@ -require 'coveralls' -Coveralls.wear! - -include RspecPuppetFacts - -# HACK: to enable all the expect syntax (like allow_any_instance_of) in rspec-puppet examples -RSpec::Mocks::Syntax.enable_expect(RSpec::Puppet::ManifestMatchers) - -RSpec.configure do |config| - config.mock_with :rspec - - config.before do - # Ensure that we don't accidentally cache facts and environment between - # test cases. This requires each example group to explicitly load the - # facts being exercised with something like - # Facter.collection.loader.load(:ipaddress) - Facter.clear - Facter.clear_messages - - RSpec::Mocks.setup - end - - config.after do - RSpec::Mocks.verify - RSpec::Mocks.teardown - end -end