PageRenderTime 9ms CodeModel.GetById 6ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/scalate-core/src/test/scala/org/fusesource/scalate/filter/CoffeeScriptFilterTest.scala

http://github.com/scalate/scalate
Scala | 16 lines | 13 code | 3 blank | 0 comment | 0 complexity | 168bc669d0d0ff3480db00b4758c67ab MD5 | raw file
 1package org.fusesource.scalate.filter
 2
 3import org.fusesource.scalate.TemplateTestSupport
 4
 5class CoffeeScriptFilterTest extends TemplateTestSupport {
 6  test("coffeescript filter") {
 7    assertUriOutputContains("/org/fusesource/scalate/scaml/coffee.scaml", """<script type='text/javascript'>
 8  //<![CDATA[
 9    alert("Hello, Coffee!");
10
11  //]]>
12</script>
13""")
14  }
15
16}