Sha256: a7dfdb18215af6129f127ad0dcc67288272ef913ad7afe64585bfc4fad36f11d

Contents?: true

Size: 632 Bytes

Versions: 46

Compression:

Stored size: 632 Bytes

Contents

@include describe("Be less than") {
  @include it("should expect smaller numbers to be less than") {
    @include should( expect(  1 ), to( be-less-than( 2 )));
    @include should( expect( -1 ), to( be-less-than( 0 )));
  }

  @include it("should expect larger numbers not to be less than") {
    @include should( expect( 2 ), not-to( be-less-than(  1 )));
    @include should( expect( 0 ), not-to( be-less-than( -1 )));
  }

  @include it("should expect non-numbers not to be less than") {
    @include should( expect( "foo" ), not-to( be-less-than( 1 )));
    @include should( expect( false ), not-to( be-less-than( 1 )));
  }
}

Version data entries

46 entries across 46 versions & 2 rubygems

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