Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor: test order fix for Ruby 1.9.

  • Loading branch information...
commit 4af98373c2fdedaee953b9f6b3800740b10216a7 1 parent 39f87b7
John Nunemaker jnunemaker authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/test_collection.rb
6 test/test_collection.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.