test/mote_test.rb in mote-0.0.1 vs test/mote_test.rb in mote-0.0.2
- old
+ new
@@ -29,9 +29,14 @@
test "multiline" do
example = Mote.parse("The\nMan\nAnd\n<%=\n\"The\"\n%>\nSea")
assert_equal "The\nMan\nAnd\nThe\nSea", example[:n => 3]
end
+
+ test "quotes" do
+ example = Mote.parse("'foo' 'bar' 'baz'")
+ assert_equal "'foo' 'bar' 'baz'", example.call
+ end
end
include Mote::Helpers
scope do