Sha256: b7b2fe44ef05b310d3a5b15931e381bc0b44531014c9bfbdc9fc0f3ae9b3676d
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
require 'spec_helper' describe GlyphHelper do describe "#glyph" do let(:html) { %(<span class="glyphicon glyphicon-%s"></span>) } it "returns proper output for one glyphicon" do glyph(:test).should == html % "test" end it "returns proper output for more than one glyphicon" do glyph(:test1, :test2).should == "#{html % "test1"}#{html % "test2"}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-sass-extras-0.0.6 | spec/helpers/glyph_helper_spec.rb |