Skip to content

Commit

Permalink
Fix test_get_key_preserving_order to test the timestamp order properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Jackson committed May 2, 2011
1 parent 3dbcd4e commit b28e161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cassandra_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_get_key_preserving_order
hash = OrderedHash['b', '', 'c', '', 'd', '', 'a', '']
@twitter.insert(:Users, key, hash)
assert_equal(hash.keys.sort, @twitter.get(:Users, key).keys)
assert_equal(hash.timestamps.keys.sort, @twitter.get(:Users, key).timestamps.keys.sort)
assert_equal(hash.timestamps.keys.sort, @twitter.get(:Users, key).timestamps.keys)
assert_not_equal(hash.keys, @twitter.get(:Users, key).keys)
end

Expand Down

0 comments on commit b28e161

Please sign in to comment.