Sha256: e6cc34aba292f81827c70fa9f6660e4eb8f54ecfc30bfb6f0d72024795ce15dd
Contents?: true
Size: 662 Bytes
Versions: 46
Compression:
Stored size: 662 Bytes
Contents
@include describe("Be greater than") { @include it("should expect larger numbers to be greater than") { @include should( expect( 2 ), to( be-greater-than( 1 ))); @include should( expect( 0 ), to( be-greater-than( -1 ))); } @include it("should expect smaller numbers not to be greater than") { @include should( expect( 1 ), not-to( be-greater-than( 2 ))); @include should( expect( -1 ), not-to( be-greater-than( 0 ))); } @include it("should expect non-numbers not to be greater than") { @include should( expect( "foo" ), not-to( be-greater-than( 1 ))); @include should( expect( false ), not-to( be-greater-than( 1 ))); } }
Version data entries
46 entries across 46 versions & 2 rubygems