summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorEthan Rowe <ethan@endpoint.com>2009-04-04 17:40:08 -0400
committerJames Turnbull <james@lovedthanlost.net>2009-04-06 12:35:10 +1000
commit57b37e5182d01b640dc794b0a82128f8aeddfd7d (patch)
treec1e2970046465caf5a885dda1ae63e74d8f2401f /spec
parent0863a7928ff6c15dcd8ace7119a3fa64bbcec6b3 (diff)
downloadpuppet-57b37e5182d01b640dc794b0a82128f8aeddfd7d.tar.gz
puppet-57b37e5182d01b640dc794b0a82128f8aeddfd7d.tar.xz
puppet-57b37e5182d01b640dc794b0a82128f8aeddfd7d.zip
Add @options to test run call, for compatibility with more recent rspec versions.
Diffstat (limited to 'spec')
-rw-r--r--spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb b/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb
index 27cd6b3df..e6b1bf9c7 100644
--- a/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb
+++ b/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb
@@ -19,7 +19,7 @@ module Spec
warn "Skipping unsuitable example group %s: %s" % [example_group.description, example_group.messages.join(", ")]
next
end
- success = success & example_group.run
+ success = success & example_group.run(@options)
end
return success
ensure