diff --git a/spec/slack/real_time/concurrency/clients/async_spec.rb b/spec/slack/real_time/concurrency/clients/async_spec.rb index 9d483a68..98706172 100644 --- a/spec/slack/real_time/concurrency/clients/async_spec.rb +++ b/spec/slack/real_time/concurrency/clients/async_spec.rb @@ -1,9 +1,11 @@ # frozen_string_literal: true require 'spec_helper' -RSpec.describe Slack::RealTime::Concurrency::Async::Socket, if: ENV['CONCURRENCY'] == 'async-websocket' do +RSpec.describe 'Slack::RealTime::Concurrency::Async::Socket', skip: ( + ENV['CONCURRENCY'] != 'async-websocket' +) do context 'global config' do - let(:client) { described_class.new(nil) } + let(:client) { Slack::RealTime::Concurrency::Async::Socket.new(nil) } context 'run_async' do it 'returns an Async::Task' do