Sha256: 660ac98276300907d8c55b18b34b88b1ebee0f610adbe2539283add2f6532f84
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 Bytes
Contents
require 'spec_helper' describe BootstrapViewportMetaHelper do describe :viewport_meta_tag do context "no arguments" do it "should return the default viewport meta tag" do viewport_meta_tag.should =="<meta content=\"width=device-width,initial-scale=1.0\" name=\"viewport\" />" end end context "with arguments" do it "should return the viewport meta tag with the specified options" do viewport_meta_tag(initial_scale: "2.0").should =="<meta content=\"width=device-width,initial-scale=2.0\" name=\"viewport\" />" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-sass-extras-0.0.6 | spec/helpers/bootstrap_viewport_meta_helper_spec.rb |
bootstrap-sass-extras-0.0.5 | spec/helpers/bootstrap_viewport_meta_helper_spec.rb |