Sha256: 35ef4744d18c99787b2492f21291bbf944bb134f4fa93b81efc8b1d678f9115a
Contents?: true
Size: 897 Bytes
Versions: 8
Compression:
Stored size: 897 Bytes
Contents
require 'spec_helper' describe 'ChangeStreams' do require_wired_tiger CHANGE_STREAMS_TESTS.each do |file| spec = Mongo::ChangeStreams::Spec.new(file) context(spec.description) do spec.tests.each do |test| context(test.description) do require_topology *test.topologies before(:each) do unless test.server_version_satisfied?(authorized_client) skip 'Version requirements not satisfied' end test.setup_test end let(:result) do test.run end it 'returns the correct result' do expect(result[:result]).to match_result(test) end it 'has the correct command_started events', if: test.expectations do expect(result[:events]).to match_commands(test) end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems