Flatten features directory tree

This commit is contained in:
Thibault Jouan
2014-05-29 14:20:02 +00:00
parent d4d1657a4a
commit bff6b85e8e
26 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Feature: key/value registry
Scenario: `set' keyword registers a value in the registry
Given a recipe with:
"""
set :some_key, 'some_value'
puts env.registry[:some_key]
"""
When I successfully execute the recipe
Then the output must contain "some_value"
Scenario: `get' keyword fetches a value from the registry
Given a recipe with:
"""
set :some_key, 'some_value'
puts get :some_key
"""
When I successfully execute the recipe
Then the output must contain "some_value"