Sha256: 423446899626ee225e1d1f9d95030d1861c82b1f15aa2e1d99a2a76afa569edb
Contents?: true
Size: 637 Bytes
Versions: 16
Compression:
Stored size: 637 Bytes
Contents
require "spec_helper" describe "contains" do before(:all) do ParserSupport.parse_file("validators/contains") end context "called on array with single item" do it "contains item" do expect(".single").to have_rule("color: #fff") end it "doesn't contain missing item" do expect(".single-missing").to have_rule("color: #000") end end context "called with array with multiple items" do it "contains item" do expect(".multiple").to have_rule("color: #fff") end it "doesn't contain missing item" do expect(".multiple-missing").to have_rule("color: #000") end end end
Version data entries
16 entries across 16 versions & 2 rubygems