spec/bonsai/template_spec.rb in bonsai-1.3.1 vs spec/bonsai/template_spec.rb in bonsai-1.3.2
- old
+ new
@@ -11,9 +11,9 @@
end
describe "instance" do
it "should give the template source" do
@template = Bonsai::Template.find("demo-template")
- File.read(@template.path).should == "Hello from our template, named {{name}}\n\n{{page_title}}\n\n{{#images}}\n {{#files}}\n {{path}}\n {{/files}}\n{{/images}}\n\n{{#children}}\n {{permalink}}\n{{/children}}\n\n{{#magic}}\n {{path}}\n{{/magic}}\n\n{{>partials/inserted}}\n\n{{{body}}}"
+ File.read(@template.path).should == "Hello from our template, named {{name}}\n\n{{page_title}}\n\n{{#images}}\n {{path}}\n{{/images}}\n\n{{#children}}\n {{permalink}}\n{{/children}}\n\n{{#magic}}\n {{path}}\n{{/magic}}\n\n{{>partials/inserted}}\n\n{{{body}}}"
end
end
end
\ No newline at end of file