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