Sha256: e52c37b95bbb3d501c5069c9bfba188345b4d2dee1eeb963d3c7ad86135a108b

Contents?: true

Size: 473 Bytes

Versions: 15

Compression:

Stored size: 473 Bytes

Contents

//
// Returns next indexed key based on passed index
//
@include describe("[function] next-index") {

	@include it("should expect alias of next indexed breakpoint") {
		@include should(expect(
			flint-next-index(1)),
			to(be("laptop"))
		);
		@include should(expect(
			flint-next-index(2)),
			to(be("tablet"))
		);
		@include should(expect(
			flint-next-index(3)),
			to(be("mobile"))
		);
		@include should(expect(
			flint-next-index(4)),
			to(be(false))
		);
	}
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
flint-gs-2.3.6 tests/input/functions/lib/_next-index.scss
flint-gs-2.3.5 tests/input/functions/lib/_next-index.scss
flint-gs-2.3.4 tests/input/functions/lib/_next-index.scss
flint-gs-2.3.3 tests/input/functions/lib/_next-index.scss
flint-gs-2.3.2 tests/input/functions/lib/_next-index.scss
flint-gs-2.3.1 tests/input/functions/lib/_next-index.scss
flint-gs-2.3.0 tests/input/functions/lib/_next-index.scss
flint-gs-2.2.0 tests/input/functions/lib/_next-index.scss
flint-gs-2.1.4 tests/input/functions/lib/_next-index.scss
flint-gs-2.1.3 tests/input/functions/lib/_next-index.scss
flint-gs-2.1.2 tests/input/functions/lib/_next-index.scss
flint-gs-2.1.1 tests/input/functions/lib/_next-index.scss
flint-gs-2.1.0 tests/input/functions/lib/_next-index.scss
flint-gs-2.0.9 tests/input/functions/lib/_next-index.scss
flint-gs-2.0.8 tests/input/functions/lib/_next-index.scss