Implement `file_write' action

This commit is contained in:
Thibault Jouan
2013-08-02 15:36:36 +00:00
parent 188ca2e08d
commit 892a9862fc
11 changed files with 111 additions and 8 deletions

View File

@@ -1,3 +1,7 @@
Given(/^a remote file named "(.*?)"$/) do |file_name|
Given /^a remote file named "([^"]+)"$/ do |file_name|
write_file file_name, ''
end
Then /^the remote file "([^"]+)" should contain "([^"]+)"/ do |path, content|
check_file_content path, content, true
end