Sha256: 9a4093b26eac96ebd2440ea6d2f3efe4968cb6cefa0505c9dd30abee70a3d9e0
Contents?: true
Size: 822 Bytes
Versions: 7
Compression:
Stored size: 822 Bytes
Contents
// // Checks if instance flint-exists in selector familiy tree, falls back from current selector // @include describe("[function] has-family-instance") { @include it("should expect to return false unless inside of a parent instance") { @include should(expect( flint-has-family-instance("desktop")), to(be(false)) ); } .parent-instance { @include _("laptop", 4); .child-instance { @include _("laptop", 2) { @include it("should expect to return true unless instance doesnt exist") { @include should(expect( flint-has-family-instance("desktop")), to(be(false)) ); @include should(expect( flint-has-family-instance("laptop")), to(be(".parent-instance::laptop")) ); } } } } $flint__instances: () !global; $flint__instance-count: 0 !global; }
Version data entries
7 entries across 7 versions & 1 rubygems