spec/slack/real_time/client_spec.rb in slack-ruby-client-0.10.0 vs spec/slack/real_time/client_spec.rb in slack-ruby-client-0.11.0

- old
+ new

@@ -233,11 +233,11 @@ expect(client.send(:logger)).to be_a ::Logger end it 'sets default store_class' do expect(client.send(:store_class)).to eq Slack::RealTime::Store end - (Slack::RealTime::Config::ATTRIBUTES - [:logger, :store_class]).each do |key| + (Slack::RealTime::Config::ATTRIBUTES - %i[logger store_class]).each do |key| it "sets #{key}" do expect(client.send(key)).to eq Slack::RealTime::Config.send(key) end end end @@ -302,10 +302,11 @@ nil, ping: 30, proxy: { origin: 'http://username:password@proxy.example.com', headers: { 'User-Agent' => 'ruby' } - }).and_return(ws) + } + ).and_return(ws) client.start! end end end context 'start_options' do