Sha256: 0eed275bfb16ff7c6438d32612fe9303741c60f75ce9099f8a315666b5dbb3be
Contents?: true
Size: 489 Bytes
Versions: 24
Compression:
Stored size: 489 Bytes
Contents
require 'html/spec_helper' describe "BasicHtmlHelper" do before do class MockJavascriptHelperContext < Rad::MockTemplateContext inherit Rad::Html::JavascriptHelper def url_for *args args.join(' ') end end @t = MockJavascriptHelperContext.new end it "javascript_include_tag" do @t.javascript_include_tag('/public/js/app.js').should == %(<script src="/public/js/app.js" type="text/javascript"></script>) end end
Version data entries
24 entries across 24 versions & 1 rubygems