Sha256: a9c49dae14642a4ec3dd64a230c9ff26a45736d42c856a5df634f737f92d394c

Contents?: true

Size: 670 Bytes

Versions: 3

Compression:

Stored size: 670 Bytes

Contents

/*
 * Get single value from configuration map
 */
@include describe("[function] get-value") {

	@include it("should expect value to be fetched from configuration map") {
		@include should(expect(
			flint-get-value("breakpoints", "desktop", "breakpoint")),
			to(be(80em))
		);
		@include should(expect(
			flint-get-value("breakpoints", "laptop", "columns")),
			to(be(12))
		);
		@include should(expect(
			flint-get-value("settings", "grid")),
			to(be("fluid"))
		);
		@include should(expect(
			flint-get-value("settings", "gutter")),
			to(be(0.625em))
		);
		@include should(expect(
			flint-get-value("settings", "float-direction")),
			to(be("left"))
		);
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flint-gs-2.0.6 tests/input/functions/lib/_get-value.scss
flint-gs-2.0.5 tests/input/functions/lib/_get-value.scss
flint-gs-2.0.4 tests/input/functions/lib/_get-value.scss