File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #this is where we can go to get help
2+ get "/help" do
3+ haml :"help/index"
4+ end
Original file line number Diff line number Diff line change 1+ Feature : Getting Help
2+ Scenario : Contributor help
3+ Given I go to the help page
4+ When I follow "GitHub"
5+ Then I should be on the github page
Original file line number Diff line number Diff line change @@ -2,3 +2,7 @@ Feature: Homepage looks correct
22 Scenario : We should see a download link
33 Given I go to the homepage
44 Then I should see "Download Hackety"
5+ Scenario : We should be able to get help
6+ Given I go to the homepage
7+ When I follow "Help"
8+ Then I should be on the help page
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ def path_to(page_name)
4848 "/forums"
4949 when /the discussion "(.*)"/
5050 "/forums/#{ $1} "
51+ when /the help page/
52+ "/help"
53+ when /the github page/
54+ "/hacketyhack/hacketyhack/"
5155
5256 # Add more mappings here.
5357 # Here is an example that pulls values out of the Regexp:
Original file line number Diff line number Diff line change 1+ %a {:href => " http://wiki.github.com/hacketyhack/hacketyhack/" } GitHub
Original file line number Diff line number Diff line change 99 %nav{:style => " float:right;" }
1010 %a{:href => " /" }Home \
1111 %a{:href => " /blog" }Blog \
12- %a{:href => " http://github.com/hacketyhack/hacketyhack " }Help \
12+ %a{:href => " /help " }Help \
1313 %a{:href => " /forums" }Forums \
1414 - if logged_in?
1515 %a{:href => " /hackers/#{ current_user.username } " }Your Page \
You can’t perform that action at this time.
0 commit comments