spec/fu_spec.rb in fu-0.0.1 vs spec/fu_spec.rb in fu-0.0.2
- old
+ new
@@ -91,6 +91,14 @@
it "handles escaped quote characters in attribute values" do
Fu.to_mustache('%p(data-quoted="\\"")').should eq '<p data-quoted="\""></p>'
end
+ it "handle empty lines with spaces okay" do
+ Fu.to_mustache <<-END
+ %p
+
+ %p
+ END
+ end
+
end
\ No newline at end of file