features/file_examples/files.feature in cuken-0.1.13 vs features/file_examples/files.feature in cuken-0.1.15
- old
+ new
@@ -26,28 +26,28 @@
And I run `touch -a foo.file`
Then the atime of "foo.file" changes
@steps
Scenario: Mtime
- Given an empty file named "foo.file"
+ Given the file "foo.file" contains nothing
And we record the a-mtime of "foo.file"
And I run `sleep 1`
And I run `touch -m foo.file`
Then the mtime of "foo.file" changes
@steps
Scenario: File contents
- When I write to "monkeytest.file" with:
+ When I write to "monkeytest.file":
"""
monkeypants
monkeyshorts
"""
Then the file "monkeytest.file" contains "monkeypants"
@steps
Scenario: File contents exact match
- When I write to "monkeytest.file" with:
+ When I write to "monkeytest.file":
"""
monkeypants
monkeyshorts
"""
@@ -56,11 +56,11 @@
monkeypants
monkeyshorts
"""
Scenario: File contents multiple matches
- When I write to "monkeytest.file" with:
+ When I write to "monkeytest.file":
"""
monkeypants
monkeyshorts
monkeypants
monkeyshorts
@@ -78,10 +78,10 @@
And the file "filemode.file" has decimal mode "644"
And the file "filemode.file" has decimal mode "0644"
@steps
Scenario: Directory exists
- When I run "mkdir -p dirtest"
+ When I run `mkdir -p dirtest`
Then the directory "dirtest" exists
@steps
Scenario: Directory does not exist
Then the directory "dirtest-m000" does not exist