Permalink
Browse files

Fix write concern for mongo 1.8 in spec.

  • Loading branch information...
1 parent 4bed082 commit dfef662e6b6def6b4b5156f2e2cd8cccaab7a999 @jnunemaker jnunemaker committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/plucky/query_spec.rb
@@ -310,7 +310,7 @@
end
it "works with options" do
- lambda { described_class.new(@collection).remove({:age.lte => 28}, :safe => true) }.should change { @collection.count }
+ lambda { described_class.new(@collection).remove({:age.lte => 28}, :w => 1) }.should change { @collection.count }
end
it "does not modify original query object" do

0 comments on commit dfef662

Please sign in to comment.