From 3d2b798aac7bda3487f7d67dbd4ea377e5c22343 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Sun, 5 Apr 2015 08:07:47 +0000 Subject: [PATCH] Fix cucumber recipe steps --- lib/producer/core/testing/cucumber/recipe_steps.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/producer/core/testing/cucumber/recipe_steps.rb b/lib/producer/core/testing/cucumber/recipe_steps.rb index c525f97..6d79cc9 100644 --- a/lib/producer/core/testing/cucumber/recipe_steps.rb +++ b/lib/producer/core/testing/cucumber/recipe_steps.rb @@ -57,11 +57,11 @@ When /^I successfully execute the recipe on remote target$/ do run_recipe remote: true, check: true end -When /^I successfully execute the recipe on remote target with option? (-.+)$/ do |options| +When /^I successfully execute the recipe on remote target with options? (-.+)$/ do |options| run_recipe remote: true, options: options, check: true end -When /^I successfully execute the recipe with option? (-.+)$/ do |options| +When /^I successfully execute the recipe with options? (-.+)$/ do |options| run_recipe options: options, check: true end