Skip to content

Commit

Permalink
Added the parking controller to navigations
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed May 30, 2010
1 parent e3cf29b commit 7b92d1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions config/navigation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
primary.item :features, 'Features', features_path
primary.item :stories, 'Stories', stories_path
primary.item :steps, 'Steps', steps_path
primary.item :parking, 'Parking', parking_index_path
end
end

Expand Down
20 changes: 11 additions & 9 deletions features/plain/navigations.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@ Feature: We need to be able to easily navigate the website
| features |
| stories |
| steps |
| parking |

Scenario Outline: When navigating to a page we want to make sure the menu item is actually selected
Given I can view the <page> page
Then the navigation should be displayed
And the "<menu_item>" will be selected

Examples: More advanced pages which need to have navigation highlighting
| page | menu_item |
| projects | projects |
| features | features |
| stories | stories |
| steps | steps |
| projects/1 | projects |
| features/1 | features |
| stories/1 | stories |
| steps/1 | steps |
| page | menu_item |
| projects | projects |
| features | features |
| stories | stories |
| steps | steps |
| parking | parking |
| projects/1 | projects |
| features/1 | features |
| stories/1 | stories |
| steps/1 | steps |

0 comments on commit 7b92d1e

Please sign in to comment.