spec/support/gridfs.rb in mongo-2.4.1 vs spec/support/gridfs.rb in mongo-2.4.2
- old
+ new
@@ -310,9 +310,10 @@
if test['assert']['error']
@operation = UnsuccessfulOp.new(self, test)
else
@operation = SuccessfulOp.new(self, test)
end
+ @result = nil
end
# Whether the expected and actual collections should be compared after the test runs.
#
# @return [ true, false ] Whether the actual and expected collections should be compared.