Implement `get' task keyword, fetch from registry

This commit is contained in:
Thibault Jouan
2014-01-21 17:31:32 +00:00
parent f92ad8128d
commit 456ed17724
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Feature: access to registry from task DSL
Scenario: `get' keyword fetches a value from the registry
Given a recipe with:
"""
set :some_key, 'some_value'
task :output_some_key do
echo get :some_key
end
"""
When I successfully execute the recipe
Then the output must contain "some_value"