Sha256: 775bc2015c4af65c47d5e0acb3f056c5af5c383ad9f0a0e6fbbaea38b34960c5

Contents?: true

Size: 863 Bytes

Versions: 46

Compression:

Stored size: 863 Bytes

Contents

@include describe("Be Type") {
  @include it("should expect to have type of") {
    @include should( expect( 1      ), to( have-type-of("number") ));
    @include should( expect( true   ), to( have-type-of("bool")   ));
    @include should( expect( (1, 2) ), to( have-type-of("list")   ));
    @include should( expect( "foo"  ), to( have-type-of("string") ));
    @include should( expect( #eee   ), to( have-type-of("color") ));
  }

  @include it("should expect not to have type of") {
    @include should( expect( 1      ), not-to( have-type-of("bool")   ));
    @include should( expect( true   ), not-to( have-type-of("list")   ));
    @include should( expect( (1, 2) ), not-to( have-type-of("string") ));
    @include should( expect( "foo"  ), not-to( have-type-of("color")  ));
    @include should( expect( #eee   ), not-to( have-type-of("number") ));
  }
}

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
flint-gs-2.3.6 tests/bootcamp/test/matchers/types/_have-type-of.scss
flint-gs-2.3.5 tests/bootcamp/test/matchers/types/_have-type-of.scss
flint-gs-2.3.4 tests/bootcamp/test/matchers/types/_have-type-of.scss
flint-gs-2.3.3 tests/bootcamp/test/matchers/types/_have-type-of.scss
flint-gs-2.3.2 tests/bootcamp/test/matchers/types/_have-type-of.scss
flint-gs-2.3.1 tests/bootcamp/test/matchers/types/_have-type-of.scss
flint-gs-2.3.0 tests/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.14 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.13 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
flint-gs-2.2.0 tests/bootcamp/test/matchers/types/_have-type-of.scss
flint-gs-2.1.4 tests/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.12 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.11 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.10 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.5 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.4 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.3 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.2 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.6.0 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss
oulu-rails-0.5.37 vendor/assets/stylesheets/bootcamp/test/matchers/types/_have-type-of.scss