Permalink
Browse files

minor: fix enumerator text for Ruby 1.9

  • Loading branch information...
1 parent 6b2939f commit 0a0d5d2e39f6215916cd0269991a6d3c4ea995d8 @banker banker committed Aug 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/mongo_bson/ordered_hash_test.rb
View
2 test/mongo_bson/ordered_hash_test.rb
@@ -180,7 +180,7 @@ def test_delete_if
end
def test_reject
- new = @oh.reject
+ new = @oh.reject { |k, v| k == 'foo' }
assert new.keys == @oh.keys
new = @oh.reject { |k, v| k == 'z' }

0 comments on commit 0a0d5d2

Please sign in to comment.