Implement `mkdir' task action
This commit is contained in:
@@ -6,6 +6,10 @@ Given /^a remote file named "([^"]+)"$/ do |file_name|
|
||||
write_file file_name, ''
|
||||
end
|
||||
|
||||
Then /^the remote directory "([^"]+)" should exists$/ do |path|
|
||||
check_directory_presence([path], true)
|
||||
end
|
||||
|
||||
Then /^the remote file "([^"]+)" should contain "([^"]+)"/ do |path, content|
|
||||
check_file_content path, content, true
|
||||
end
|
||||
|
Reference in New Issue
Block a user