Sha256: a34cf864ee3f55f679f3a87979b19645eba9f923360d6781de742f052bcf6942

Contents?: true

Size: 545 Bytes

Versions: 15

Compression:

Stored size: 545 Bytes

Contents

//
// Support syntax
//
@include describe("[function] support-syntax") {

    $selectors: ".block__element--modifier";

    @include it("should expect truthy value to return from supported syntax") {
        @include should(expect(
            flint-support-syntax("BEM", $selectors)),
            to(be-truthy())
        );
    }

    @include it("should expect to return null if invalid syntax is passed") {
        @include should(expect(
            flint-support-syntax("OOCSS", $selectors)),
            to(be((false)))
        );
    }
}

Version data entries

15 entries across 15 versions & 1 rubygems

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