Sha256: 1210590a1185ade7c8af5578d6571ff7db44d463a111fff9627c3a1e8843daf8
Contents?: true
Size: 943 Bytes
Versions: 6
Compression:
Stored size: 943 Bytes
Contents
require 'spec_helper' describe 'ChangeStreams' do 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 before(:each) do unless test.configuration_satisfied?(authorized_client) skip 'Version or topology requirements not satisfied' end test.setup_test end after(:each) do test.teardown_test if test.configuration_satisfied?(authorized_client) 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' do expect(result[:events]).to match_commands(test) end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems