Sha256: 31c805605e2aca9f3b883a8ac857ec07bc28f3eb2b18d1e5dc5966cfb0d5d4db
Contents?: true
Size: 796 Bytes
Versions: 12
Compression:
Stored size: 796 Bytes
Contents
require "spec_helper" describe "prefixer" do before(:all) do ParserSupport.parse_file("library/prefixer") end context "called with no prefixes" do it "outputs the spec" do rule = "appearance: none;" expect(".prefix").to have_ruleset(rule) end end context "called with one prefix" do it "applies the prefix to the property" do rule = "-webkit-appearance: none; " + "appearance: none;" expect(".prefix--webkit").to have_ruleset(rule) end end context "called with multiple prefixes" do it "applies the prefixes to the property" do rule = "-moz-appearance: none; " + "-ms-appearance: none; " + "appearance: none;" expect(".prefix--moz-ms").to have_ruleset(rule) end end end
Version data entries
12 entries across 12 versions & 2 rubygems