Permalink
Browse files

Minor: test order fix for Ruby 1.9.

  • Loading branch information...
1 parent 39f87b7 commit 4af98373c2fdedaee953b9f6b3800740b10216a7 @jnunemaker jnunemaker committed May 7, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test_collection.rb
@@ -9,9 +9,9 @@ class CollectionTest < Test::Unit::TestCase
@john = oh(['_id', 'john'], ['age', 28], ['name', 'John'])
@steve = oh(['_id', 'steve'], ['age', 29], ['name', 'Steve'])
@collection = Collection.new(DB['users'])
- @collection.insert(:_id => 'john', :name => 'John', :age => 28)
- @collection.insert(:_id => 'steve', :name => 'Steve', :age => 29)
- @collection.insert(:_id => 'chris', :name => 'Chris', :age => 26)
+ @collection.insert(:_id => 'john', :age => 28, :name => 'John')
+ @collection.insert(:_id => 'steve', :age => 29, :name => 'Steve')
+ @collection.insert(:_id => 'chris', :age => 26, :name => 'Chris')
end
context "#all" do

0 comments on commit 4af9837

Please sign in to comment.