Sha256: 2d01b9fa2c09b1672383930da953018e882c090aa36d4464efec20b2f9ad3f4c

Contents?: true

Size: 291 Bytes

Versions: 10

Compression:

Stored size: 291 Bytes

Contents

require 'jactive_support/core_ext/ordering'

describe "ordering" do
  it "has an order" do
    (nil <=> nil).should be(0)
    (nil <=> 1).should be(-1)
    (true <=> true).should be(0)
    (true <=> 1).should be(-1)
    (false <=> false).should be(0)
    (false <=> 1).should be(1)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jactive_support-2.1.2 spec/core_ext/ordering_spec.rb
jactive_support-3.0.0 spec/core_ext/ordering_spec.rb
jactive_support-3.0.0.pre2 spec/core_ext/ordering_spec.rb
jactive_support-3.0.0.pre1 spec/core_ext/ordering_spec.rb
jactive_support-2.1.1 spec/core_ext/ordering_spec.rb
jactive_support-2.1.0 spec/core_ext/ordering_spec.rb
jactive_support-2.0.0 spec/core_ext/ordering_spec.rb
jactive_support-1.0.2 spec/core_ext/ordering_spec.rb
jactive_support-1.0.1-universal-java-1.6 spec/core_ext/ordering_spec.rb
jactive_support-1.0.0-universal-java-1.6 spec/core_ext/ordering_spec.rb