Skip to content

Commit

Permalink
One more URL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sr committed Mar 29, 2009
1 parent ff59910 commit 143b75b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Expand Up @@ -4,6 +4,7 @@
* Fix for when the commit identifier can't be retrieved
<http://integrity.lighthouseapp.com/projects/14308/tickets/116>
* Fix two issues with MySQL
* Fix one more URL issue

0.1.9.2 / 2009-03-28
====================
Expand Down
2 changes: 1 addition & 1 deletion lib/integrity/helpers/breadcrumbs.rb
Expand Up @@ -2,7 +2,7 @@ module Integrity
module Helpers
module Breadcrumbs
def pages
@pages ||= [["projects", root_path], ["new project", root_path("/new")]]
@pages ||= [["projects", root_path("/")], ["new project", root_path("/new")]]
end

def breadcrumbs(*crumbs)
Expand Down
4 changes: 4 additions & 0 deletions test/acceptance/browse_project_test.rb
Expand Up @@ -48,6 +48,10 @@ class BrowsePublicProjectsTest < Test::Unit::AcceptanceTestCase
click_link "My Test Project"

assert_have_tag("h1", :content => "My Test Project")

# He can then go back to the project listing
click_link "projects"
assert_have_tag("a", :content => "My Test Project")
end

scenario "a user gets a 404 when browsing to an unexisting project" do
Expand Down

0 comments on commit 143b75b

Please sign in to comment.