Sha256: 49800b90b159c7c2b7f8cbe5a70ed78fcb8d4c694aee9661dd007a230e69a925

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

RSpec.describe 'Slack::RealTime::Concurrency::Async::Socket', skip: (
  ENV['CONCURRENCY'] != 'async-websocket'
) do
  context 'global config' do
    let(:client) { Slack::RealTime::Concurrency::Async::Socket.new(nil) }

    context 'run_async' do
      it 'returns an Async::Task' do
        expect(client.run_async {}).to be_a Async::Task
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/slack/real_time/concurrency/clients/async_spec.rb
slack-ruby-client-2.3.0 spec/slack/real_time/concurrency/clients/async_spec.rb
slack-ruby-client-2.2.0 spec/slack/real_time/concurrency/clients/async_spec.rb