Sha256: 3ddd0deb02fe08ee246cb9d261cd32fa70ab4bdc5230d1d91e06563faf3f18f9
Contents?: true
Size: 820 Bytes
Versions: 10
Compression:
Stored size: 820 Bytes
Contents
require "spec_helper" describe "directional-property" do before(:all) do ParserSupport.parse_file("utilities/directional-property") end context "directional-property" do it "returns property and values with four distinct lengths" do expect(".border-all").to have_rule("border-width: 2px 5px 8px 12px") end it "returns property and value with one length" do expect(".border-top").to have_rule("border-top: 10px") end it "returns property and value with vertical and horizontal values" do expect(".border-color").to have_rule("border-color: #fff #000") end it "returns properties for top and bottom margin" do ruleset = "margin-top: 20px; " + "margin-bottom: 10px;" expect(".margin-null").to have_ruleset(ruleset) end end end
Version data entries
10 entries across 10 versions & 1 rubygems