producer-core/features/cli/env.feature
2013-08-03 23:42:41 +00:00

11 lines
276 B
Gherkin

Feature: env recipe keyword
Scenario: exposes the internal env object
Given a recipe with:
"""
puts env.current_recipe.filepath
"""
When I execute the recipe
Then the exit status must be 0
And the output must contain exactly "recipe.rb\n"