spec/webby/renderer_spec.rb in TwP-webby-0.9.2 vs spec/webby/renderer_spec.rb in TwP-webby-0.9.3

- old
+ new

@@ -4,10 +4,10 @@ # --------------------------------------------------------------------------- describe Webby::Renderer do before :each do layout = Webby::Resources::Layout. - new(Webby.datapath %w[layouts tumblog default.txt]) + new(Webby.datapath(%w[site layouts tumblog default.txt])) Webby::Resources.stub!(:find_layout).and_return(layout) @filename = File.join %w[content tumblog index.txt] @page = Webby::Resources::Page.new(@filename) @renderer = Webby::Renderer.new(@page)