Skip to content

Commit

Permalink
scenario was in home_page when it should have been in feature_page
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidy Lewis committed Dec 1, 2011
1 parent c139ecb commit 4356f63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
11 changes: 11 additions & 0 deletions features/feature_page.feature
Expand Up @@ -4,6 +4,17 @@ Feature: Feature Page
I want a page that displays the feature's name,
free-form narrative and scenario titles

Scenario: Feature Content
Given a feature file named "sample.feature" with the contents:
"""
Feature: Sample Feature
In order to get some value
As a person
I want to create value
"""
When I visit the sample feature page
Then I should see the feature free-form narrative

Scenario: View Scenario Links
Given a feature file named "sample.feature" with the contents:
"""
Expand Down
10 changes: 0 additions & 10 deletions features/home_page.feature
Expand Up @@ -34,15 +34,5 @@ Feature: Home Page
When I visit the sample feature page
Then I should see "sample_tag"

Scenario: Feature Content
Given a feature file named "sample.feature" with the contents:
"""
Feature: Sample Feature
In order to get some value
As a person
I want to create value
"""
When I visit the sample feature page
Then I should see the feature free-form narrative


0 comments on commit 4356f63

Please sign in to comment.