spec/models/menu_spec.rb in lolita-menu-0.3.6 vs spec/models/menu_spec.rb in lolita-menu-0.4.0
- old
+ new
@@ -69,10 +69,9 @@
it "should create root item on create" do
menu.root(MenuItem).should_not be_nil
end
it "should add new item to menu" do
- debugger
item=MenuItem.create!(:name=>"item",:url=>"/")
menu.append(item)
menu.items.should have(2).items
end
end