Sha256: 51f898b06379fa7d9bb6c7eb8825c9273c903e2fab0f88ad5cef9651421bd07f
Contents?: true
Size: 614 Bytes
Versions: 3
Compression:
Stored size: 614 Bytes
Contents
require 'spec_helper' describe Keydown::HtmlHelpers do before do class TestContext include Keydown::HtmlHelpers end @context = TestContext.new end describe "#stylesheet" do it "should produce an HTML stylesheet link tag" do @context.stylesheet("/foo/bar/baz.css").should == %q{<link href="/foo/bar/baz.css" rel="stylesheet" type="text/css"/>} end end describe "#script" do it "should produce an HTML JavaScript script tag" do @context.script("/foo/bar/baz.js").should == %q{<script src="/foo/bar/baz.js" type="text/javascript"></script>} end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
keydown-0.9.2 | spec/lib/html_helpers_spec.rb |
keydown-0.9.1 | spec/lib/html_helpers_spec.rb |
keydown-0.9.0 | spec/lib/html_helpers_spec.rb |