Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

this step breaks under ruby 1.8.7 due to cucumber complaining about a…

…rity mismatch (guess ruby 1.9.2 allows *args on blocks, but ruby 1.8.7 doesn't?) fixed by making groups non capturable
  • Loading branch information...
commit afd5db038f3037298285ad5963a5183404bc0b5e 1 parent 8e60703
@JonRowe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  features/step_definitions/additional_cli_steps.rb
View
2  features/step_definitions/additional_cli_steps.rb
@@ -10,7 +10,7 @@
end
end
-Then /^the example(s)? should( all)? pass$/ do |*|
+Then /^the example(?:s)? should(?: all)? pass$/ do
Then %q{the output should contain "0 failures"}
Then %q{the exit status should be 0}
end
Please sign in to comment.
Something went wrong with that request. Please try again.