Sha256: 774fafe2bfd401ad9bda98d03209aeaca6ec6b9a0b0b4bd953893a01051f362e

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 Bytes

Contents

require 'spec_helper'

describe HamlAssets do
  it "should have the proper format" do
    RailsApp::Application.assets['link_to.jst.ejs.haml'].to_s.should == "(function() {\n  this.JST || (this.JST = {});\n  this.JST[\"link_to\"] = function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('');}return __p.join('');};\n}).call(this);\n"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
haml_assets-0.1.0 spec/render_spec.rb
haml_assets-0.0.5 spec/render_spec.rb
haml_assets-0.0.4 spec/render_spec.rb