require 'test_helper' module HandlebarsAssets class TiltHandlebarsTest < Test::Unit::TestCase def test_render # Try to act like sprockets. scope = Object.new class << scope def logical_path ; 'x11' ; end end template = HandlebarsAssets::TiltHandlebars.new('/myapp/app/assets/templates/x11.jst.hbs') { "This is {{handlebars}}" } assert_equal <