Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Fix JST test
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed May 19, 2011
1 parent d3ec5c2 commit 98a42e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_environment.rb
Expand Up @@ -53,7 +53,7 @@ def self.test(name, &block)

test "ejs templates" do
asset = @env["hello.jst"]
assert_equal "window.JST || window.JST = {};\nwindow.JST[\"hello\"] = function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('hello: ', name ,'\\n');}return __p.join('');};\n", asset.to_s
assert_equal "window.JST || (window.JST = {});\nwindow.JST[\"hello\"] = function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('hello: ', name ,'\\n');}return __p.join('');};\n", asset.to_s
end

test "lookup mime type" do
Expand Down

0 comments on commit 98a42e7

Please sign in to comment.