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