Sha256: 01de9d9c0e5f7fff41d8b1901fcfa1d56b8e9f16b698e2c16b3fba7f6ac77849

Contents?: true

Size: 345 Bytes

Versions: 8

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

RSpec.describe 'without CONCURRENCY', skip: ( # rubocop:disable RSpec/DescribeClass
  (ENV['CONCURRENCY']) && 'CONCURRENCY is set'
) do
  it 'raises NoConcurrencyError' do
    expect { Slack::RealTime::Config.concurrency }.to raise_error Slack::RealTime::Config::NoConcurrencyError
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/slack/real_time/concurrency/without_concurrency_spec.rb
slack-ruby-client-2.3.0 spec/slack/real_time/concurrency/without_concurrency_spec.rb
slack-ruby-client-2.2.0 spec/slack/real_time/concurrency/without_concurrency_spec.rb
slack-ruby-client-2.1.0 spec/slack/real_time/concurrency/without_concurrency_spec.rb
slack-ruby-client-2.0.0 spec/slack/real_time/concurrency/without_concurrency_spec.rb
slack-ruby-client-1.1.0 spec/slack/real_time/concurrency/without_concurrency_spec.rb
slack-ruby-client-1.0.0 spec/slack/real_time/concurrency/without_concurrency_spec.rb
slack-ruby-client-0.17.0 spec/slack/real_time/concurrency/without_concurrency_spec.rb