Skip to content

Commit

Permalink
Better scenario names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Jan 20, 2012
1 parent 2fc2c90 commit 13e70d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions features/generate.feature
@@ -1,7 +1,7 @@
@disable-bundler
Feature: Generate bourbon files

Scenario: Run `bourbon generate`
Scenario: Bourbon generates a new bourbon installation
When I generate bourbon files
Then the sass directories should have been generated
And the following directories should exist:
Expand All @@ -11,7 +11,7 @@ Feature: Generate bourbon files
And the lib files should have been generated
And the output should contain "Bourbon files generated to bourbon/"

Scenario: Generator does not overwrite an existing bourbon directory
Scenario: Generating does not overwrite an existing bourbon directory
Given bourbon is already generated
When I generate bourbon files
Then the output should contain "Bourbon files already generated, doing nothing."
4 changes: 2 additions & 2 deletions features/update.feature
@@ -1,7 +1,7 @@
@disable-bundler
Feature: Update bourbon files

Scenario: `bourbon update` updates an existing bourbon install
Scenario: Updating updates an existing bourbon install
When I generate bourbon files
And I write to "bourbon/_bourbon.scss" with:
"""
Expand All @@ -11,7 +11,7 @@ Feature: Update bourbon files
Then the output should contain "Bourbon files updated."
And the file "bourbon/_bourbon.scss" should not contain "foobar"

Scenario: `bourbon update` does not generate a new bourbon install
Scenario: Updating does not generate a new bourbon install
When I update bourbon files
Then bourbon should not have been generated
And the output should contain "No existing bourbon installation. Doing nothing."

0 comments on commit 13e70d3

Please sign in to comment.