4 lines
134 B
Ruby
4 lines
134 B
Ruby
|
Given /^I have the file "([^"]*)" with the content:$/ do |filename, string|
|
||
|
File.open(filename, 'wb') { |fh| fh.print(string) }
|
||
|
end
|