Sha256: 32d0a5d1abe87e2786c6e41a38764dd6e0dc317223fa78259938a16171d23a1d

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true
# encoding: utf-8

require 'spec_helper'

describe Mongo::Cluster::PeriodicExecutor do

  let(:executor) do
    described_class.new
  end

  describe '#log_warn' do
    it 'works' do
      expect do
        executor.log_warn('test warning')
      end.not_to raise_error
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongo-2.15.1 spec/mongo/cluster/periodic_executor_spec.rb
mongo-2.15.0 spec/mongo/cluster/periodic_executor_spec.rb