From 2393fc85f283c89a3ef75cd376ceadff278e19a5 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Mon, 3 Jan 2022 08:07:49 +0100 Subject: [PATCH] Maintenance: Bump rubocop-rspec from 2.6.0 to 2.7.0 Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.6.0 to 2.7.0. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.6.0...v2.7.0) --- Gemfile.lock | 2 +- .../channel/driver/sms/message_bird_spec.rb | 16 ++++++++-------- spec/models/channel/driver/sms/twilio_spec.rb | 18 +++++++++--------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ea0d17ef8..964fe3a8a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -527,7 +527,7 @@ GEM activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.7.0, < 2.0) - rubocop-rspec (2.6.0) + rubocop-rspec (2.7.0) rubocop (~> 1.19) ruby-progressbar (1.11.0) ruby-saml (1.13.0) diff --git a/spec/models/channel/driver/sms/message_bird_spec.rb b/spec/models/channel/driver/sms/message_bird_spec.rb index 4d3b58beb..f8ca209f6 100644 --- a/spec/models/channel/driver/sms/message_bird_spec.rb +++ b/spec/models/channel/driver/sms/message_bird_spec.rb @@ -28,14 +28,14 @@ RSpec.describe Channel::Driver::Sms::MessageBird do private def create_channel - FactoryBot.create(:channel, - options: { - adapter: 'sms/message_bird', - sender: sender_number, - token: token - }, - created_by_id: 1, - updated_by_id: 1) + create(:channel, + options: { + adapter: 'sms/message_bird', + sender: sender_number, + token: token + }, + created_by_id: 1, + updated_by_id: 1) end # api parameters diff --git a/spec/models/channel/driver/sms/twilio_spec.rb b/spec/models/channel/driver/sms/twilio_spec.rb index 579408dc1..45c17133e 100644 --- a/spec/models/channel/driver/sms/twilio_spec.rb +++ b/spec/models/channel/driver/sms/twilio_spec.rb @@ -28,15 +28,15 @@ RSpec.describe Channel::Driver::Sms::Twilio do private def create_channel - FactoryBot.create(:channel, - options: { - account_id: account_id, - adapter: 'sms/twilio', - sender: sender_number, - token: token - }, - created_by_id: 1, - updated_by_id: 1) + create(:channel, + options: { + account_id: account_id, + adapter: 'sms/twilio', + sender: sender_number, + token: token + }, + created_by_id: 1, + updated_by_id: 1) end # api parameters