spec/builder_spec.rb in genit-0.4.1 vs spec/builder_spec.rb in genit-0.5

- old
+ new

@@ -14,11 +14,11 @@ doc.css("body working").size.should == 1 end it "should set the menu" do menu = Nokogiri::XML(File.open("data/templates/menu.html")) - builder = Builder.new(menu) - menu = builder.select_menu('index.html') + builder = MenuBuilder.new(menu) + menu = builder.build_for_page('index.html') menu.css("ul#menu a#selected").size.should == 1 menu.css("ul#menu a#selected").first['href'].should == 'index.html' end end