features/file_system_commands.feature in aruba-jbb-0.2.6.13 vs features/file_system_commands.feature in aruba-jbb-0.2.6.14
- old
+ new
@@ -6,11 +6,17 @@
Scenario: create a dir
Given I do have a directory named "foo/bar"
When I run "ruby -e \"puts test ?d, 'foo'\""
Then the stdout should contain "true"
+
Scenario: create a file
+ Given I do have a file named "bar/foo"
+ When I run "ruby -e \"puts test ?f, 'bar/foo'\""
+ Then the stdout should contain "true"
+
+ Scenario: create a file with content
Given I do have a file named "foo/bar/example.rb" with:
"""
puts "hello world"
"""
When I run "ruby foo/bar/example.rb"