Unflatten features directory tree
This commit is contained in:
15
features/actions/file_append.feature
Normal file
15
features/actions/file_append.feature
Normal file
@@ -0,0 +1,15 @@
|
||||
@sshd
|
||||
Feature: `file_append' task action
|
||||
|
||||
Background:
|
||||
Given a remote file named "some_file" with "some content"
|
||||
|
||||
Scenario: appends given content to requested file
|
||||
Given a recipe with:
|
||||
"""
|
||||
task :file_append_action do
|
||||
file_append 'some_file', ' added'
|
||||
end
|
||||
"""
|
||||
When I successfully execute the recipe on remote target
|
||||
Then the remote file "some_file" must contain exactly "some content added"
|
Reference in New Issue
Block a user