Unflatten features directory tree

This commit is contained in:
Thibault Jouan
2014-11-18 11:58:23 +00:00
parent 86a84bbe12
commit 2d3975d47f
36 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
Feature: SSH settings
Background:
Given a recipe with:
"""
target 'some_host.example'
task :some_task do
echo env.remote.user_name
end
"""
Scenario: uses current user login name as SSH user name by default
When I successfully execute the recipe
Then the output must contain my current login name
@fake_home
Scenario: uses configured SSH user name for a given host
Given an SSH config with:
"""
Host some_host.example
User some_user
"""
When I successfully execute the recipe
Then the output must contain "some_user"