chore: Update dependencies to the latest versions (#5033)

This commit is contained in:
Sojan Jose
2022-07-15 04:51:59 +02:00
committed by GitHub
parent ea1a27c7d4
commit 4187428729
122 changed files with 546 additions and 526 deletions

View File

@@ -61,7 +61,7 @@ describe Integrations::Csml::ProcessorService do
let(:conversation) { create(:conversation, account: account, status: :open) }
it 'returns nil' do
expect(processor.perform).to be(nil)
expect(processor.perform).to be_nil
end
end
@@ -69,7 +69,7 @@ describe Integrations::Csml::ProcessorService do
let(:message) { create(:message, account: account, conversation: conversation, private: true) }
it 'returns nil' do
expect(processor.perform).to be(nil)
expect(processor.perform).to be_nil
end
end
@@ -77,7 +77,7 @@ describe Integrations::Csml::ProcessorService do
let(:message) { create(:message, account: account, conversation: conversation, message_type: :template) }
it 'returns nil' do
expect(processor.perform).to be(nil)
expect(processor.perform).to be_nil
end
end
@@ -100,7 +100,7 @@ describe Integrations::Csml::ProcessorService do
let(:event_name) { 'message.updated' }
it 'returns nil' do
expect(processor.perform).to be(nil)
expect(processor.perform).to be_nil
end
end
end

View File

@@ -93,7 +93,7 @@ describe Integrations::Dialogflow::ProcessorService do
let(:conversation) { create(:conversation, account: account, status: :open) }
it 'returns nil' do
expect(processor.perform).to be(nil)
expect(processor.perform).to be_nil
end
end
@@ -101,7 +101,7 @@ describe Integrations::Dialogflow::ProcessorService do
let(:message) { create(:message, account: account, conversation: conversation, private: true) }
it 'returns nil' do
expect(processor.perform).to be(nil)
expect(processor.perform).to be_nil
end
end

View File

@@ -36,7 +36,7 @@ describe Integrations::Slack::IncomingMessageBuilder do
end
it 'creates message' do
expect(hook).not_to eq nil
expect(hook).not_to be_nil
messages_count = conversation.messages.count
builder = described_class.new(message_params)
allow(builder).to receive(:sender).and_return(nil)
@@ -71,7 +71,7 @@ describe Integrations::Slack::IncomingMessageBuilder do
end
it 'saves attachment if params files present' do
expect(hook).not_to eq nil
expect(hook).not_to be_nil
messages_count = conversation.messages.count
builder = described_class.new(message_with_attachments)
allow(builder).to receive(:sender).and_return(nil)
@@ -82,7 +82,7 @@ describe Integrations::Slack::IncomingMessageBuilder do
end
it 'ignore message if it is postback of CW attachment message' do
expect(hook).not_to eq nil
expect(hook).not_to be_nil
messages_count = conversation.messages.count
message_with_attachments[:event][:text] = 'Attached File!'
builder = described_class.new(message_with_attachments)