projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exim: update exim_surbl.pl to version 2.3
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
stdlib
/
spec
/
spec_helper_local.rb
diff --git
a/3rdparty/modules/stdlib/spec/spec_helper_local.rb
b/3rdparty/modules/stdlib/spec/spec_helper_local.rb
index
616490c
..
5fea4da
100644
(file)
--- a/
3rdparty/modules/stdlib/spec/spec_helper_local.rb
+++ b/
3rdparty/modules/stdlib/spec/spec_helper_local.rb
@@
-1,7
+1,7
@@
# automatically load any shared examples or contexts
# automatically load any shared examples or contexts
-Dir[
"./spec/support/**/*.rb"
].sort.each { |f| require f }
+Dir[
'./spec/support/**/*.rb'
].sort.each { |f| require f }
-#
hack
to enable all the expect syntax (like allow_any_instance_of) in rspec-puppet examples
+#
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|
RSpec::Mocks::Syntax.enable_expect(RSpec::Puppet::ManifestMatchers)
RSpec.configure do |config|
@@
-16,7
+16,7
@@
RSpec.configure do |config|
# Facter.collection.loader.load(:ipaddress)
Facter.clear
Facter.clear_messages
# Facter.collection.loader.load(:ipaddress)
Facter.clear
Facter.clear_messages
-
+
RSpec::Mocks.setup
end
RSpec::Mocks.setup
end