Skip to content

Commit 86eb68b

Browse files
committed
breadrumbs for the forum
1 parent 967c48f commit 86eb68b

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

features/forum.feature

Lines changed: 0 additions & 13 deletions
This file was deleted.

spec/acceptance/forum_spec.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,12 @@
8383
page.should_not have_content "Reply"
8484
end
8585

86+
scenario "breadcrumbs" do
87+
discussion = Factory(:discussion, :forum => "learning_ruby")
88+
visit "/forums/learning_ruby/#{discussion.slug}"
89+
90+
page.should have_content "Hackety Forums"
91+
page.should have_content "Learning Ruby"
92+
end
93+
8694
end

0 commit comments

Comments
 (0)