From 57b37e5182d01b640dc794b0a82128f8aeddfd7d Mon Sep 17 00:00:00 2001 From: Ethan Rowe Date: Sat, 4 Apr 2009 17:40:08 -0400 Subject: Add @options to test run call, for compatibility with more recent rspec versions. --- spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit