Sha256: 11f9162f651c77ae88af730f5c7aa2712bb6c2f99c1ce2222e265b436f865b20
Contents?: true
Size: 775 Bytes
Versions: 3
Compression:
Stored size: 775 Bytes
Contents
/* * Gets the index of the passed key */ @include describe("[function] get-index") { @include it("should expect index to match index of key in configuration map") { @include should(expect( flint-get-index("desktop")), to(be(1)) ); @include should(expect( flint-get-index("laptop")), to(be(2)) ); @include should(expect( flint-get-index("tablet")), to(be(3)) ); @include should(expect( flint-get-index("mobile")), to(be(4)) ); } @include it("should expect index to not be found") { @include should(expect( flint-get-index("unknown")), to(be(false)) ); } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flint-gs-2.0.6 | tests/input/functions/lib/_get-index.scss |
flint-gs-2.0.5 | tests/input/functions/lib/_get-index.scss |
flint-gs-2.0.4 | tests/input/functions/lib/_get-index.scss |