spec/helpers/navigation_spec.rb in nanoc-toolbox-0.2.0 vs spec/helpers/navigation_spec.rb in nanoc-toolbox-0.2.1
- old
+ new
@@ -129,10 +129,10 @@
describe ".navigation_for" do
it "should return a navigation menu for a item"
end
describe ".breadcrumb_for" do
- before(:all) do
+ before(:each) do
@items = {
"/" => Nanoc::Item.new("", {:title => "Home"}, "/"),
"/yetAnotherItem/" => Nanoc::Item.new("", {:title => "Sub1"}, "/yetAnotherItem/"),
"/yetAnotherItem/last/edit/" => Nanoc::Item.new("", {:title => "Sub2"}, "/yetAnotherItem/last/edit/")
}