Add env recipe keyword feature

This commit is contained in:
Thibault Jouan committed 2013-08-03 23:42:41 +00:00
1 parent d677c3aa97
commit a6e27edfd2
3 files changed
+28

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
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"