lib/deploy-context/deploy/cucumber.rb in deploy-context-2.1.35 vs lib/deploy-context/deploy/cucumber.rb in deploy-context-2.1.35.2.g385b63e
- old
+ new
@@ -1,7 +1,11 @@
module Context
module DeployHelpers
module CucumberHelper
+ def cucumber(context, commands = [])
+ context.chef_exec(context,['cucumber'] + commands)
+ end
+
def cucumber_test(context)
context.git_build(context)
context.log "Working in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
context.cucumber(context)
end