Sha256: a5ee23d058b47a05611746178f1276c2a9347f4ed1936d3d08e7e9ba4809002c

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Msgr::TestPool do
  let(:pool) { described_class.new }

  describe '.run' do
    it 'passes through to #run' do
      expect(pool).to receive(:run).with(count: 5) # rubocop:disable RSpec/MessageSpies
      described_class.run(count: 5)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
msgr-1.6.1 spec/unit/msgr/test_pool_spec.rb
msgr-1.6.0 spec/unit/msgr/test_pool_spec.rb
msgr-1.5.0 spec/unit/msgr/test_pool_spec.rb