Permalink
Browse files

Don't include Mongo

  • Loading branch information...
1 parent 844456d commit bbaaf5333df51290369ff1cb7cf12314b93a516d @gdb committed Oct 31, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 test/functional/interface_test.rb
@@ -4,7 +4,6 @@
require File.join(File.dirname(__FILE__), '../../lib/embedded-mongo')
class InterfaceTest < Test::Unit::TestCase
- include Mongo
def setup
# Tests should pass with either of the following lines
@conn = EmbeddedMongo::Connection.new
@@ -83,7 +82,7 @@ def test_update_increment_record_field_with_incorrect_type
selector.merge('baz'=>'not an integer')
)
- assert_raise OperationFailure do
+ assert_raise(Mongo::OperationFailure) do
@foo_collection.update(
selector,
{'$inc'=>{'baz'=>2}}

0 comments on commit bbaaf53

Please sign in to comment.