spec/mongo/protocol/msg_spec.rb in mongo-2.15.0.alpha vs spec/mongo/protocol/msg_spec.rb in mongo-2.15.0
- old
+ new
@@ -1,5 +1,8 @@
+# frozen_string_literal: true
+# encoding: utf-8
+
require 'lite_spec_helper'
require 'support/shared/protocol'
describe Mongo::Protocol::Msg do
@@ -98,10 +101,10 @@
end
context 'when the main_document are not equal' do
let(:other_main_document) do
- { '$db'=> SpecConfig.instance.test_db, ismaster: 1 }
+ { '$db'=> SpecConfig.instance.test_db, hello: 1 }
end
let(:other) do
described_class.new(flags, nil, other_main_document)
end