spec/lib/simple_navigation/configuration_spec.rb in andi-simple-navigation-1.2.2 vs spec/lib/simple_navigation/configuration_spec.rb in andi-simple-navigation-1.3.0

- old
+ new

@@ -62,9 +62,15 @@ @config.renderer.should == SimpleNavigation::Renderer::List end it "should set the selected_class to 'selected' as default" do @config.selected_class.should == 'selected' end + it "should set render_all_levels to false as default" do + @config.render_all_levels.should be_false + end + it "should set autogenerate_item_ids to true as default" do + @config.autogenerate_item_ids.should be_true + end end describe 'items' do before(:each) do @container = stub(:items_container) SimpleNavigation::ItemContainer.stub!(:new).and_return(@container)