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

@@ -1,28 +0,0 @@
@sshd
Feature: `file_write' task action
Scenario: writes given data to given file path
Given a recipe with:
"""
target 'some_host.test'
task :write_some_data do
file_write 'some_file', 'some_content'
end
"""
When I successfully execute the recipe
Then the remote file "some_file" must contain "some_content"
Scenario: creates file with given permissions
Given a recipe with:
"""
target 'some_host.test'
task :write_some_data do
file_write 'some_file_0600', 'some_content', 0600
file_write 'some_file_0700', 'some_content', 0700
end
"""
When I successfully execute the recipe
Then the remote file "some_file_0600" must have 0600 mode
And the remote file "some_file_0700" must have 0700 mode