Sha256: 9b84bcb3a1cb64d976a633f0cbee14a74bc4cbd9387a2eb868d54881bd202beb

Contents?: true

Size: 345 Bytes

Versions: 7

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

RSpec.describe Slack::RealTime::Store do
  it 'can be initialized with an empty hash' do
    store = described_class.new(Hashie::Mash.new)
    expect(store.self).to be nil
    expect(store.groups.count).to eq 0
    expect(store.team).to be nil
    expect(store.teams.count).to eq 0
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-1.0.0 spec/slack/real_time/store_spec.rb
slack-ruby-client-0.17.0 spec/slack/real_time/store_spec.rb
slack-ruby-client-0.16.0 spec/slack/real_time/store_spec.rb
slack-ruby-client-0.15.1 spec/slack/real_time/store_spec.rb
slack-ruby-client-0.15.0 spec/slack/real_time/store_spec.rb
slack-ruby-client-0.14.6 spec/slack/real_time/store_spec.rb
slack-ruby-client-0.14.5 spec/slack/real_time/store_spec.rb