Skip to content

Commit 6e26e4b

Browse files
committed
Bum rubocop-rspec
1 parent 513a23f commit 6e26e4b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ RSpec/MultipleExpectations:
4848
Enabled: false
4949

5050
Style/HashSyntax:
51-
Enabled: false # We still want to support older versions of Ruby
51+
Enabled: false # We still want to support older versions of Ruby

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ gem 'rspec', '~> 3.9'
1616
gem 'rspec_junit_formatter', '~> 0.4'
1717
gem 'rspec-legacy_formatters', '~> 1.0' # For codecov formatter
1818
gem 'rubocop', '~> 1.12'
19-
gem 'rubocop-rspec', '~> 2.4', require: false
19+
gem 'rubocop-rspec', '~> 3.6', require: false
2020
gem 'simplecov', '~> 0.18'
2121
gem 'timecop', '~> 0.9'
2222
gem 'webmock', '~> 3.8'

spec/typesense/api_call_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,17 +245,17 @@
245245
end
246246

247247
describe '#post' do
248-
include_examples 'General error handling', :post
249-
include_examples 'Node selection', :post
248+
it_behaves_like 'General error handling', :post
249+
it_behaves_like 'Node selection', :post
250250
end
251251

252252
describe '#get' do
253-
include_examples 'General error handling', :get
254-
include_examples 'Node selection', :get
253+
it_behaves_like 'General error handling', :get
254+
it_behaves_like 'Node selection', :get
255255
end
256256

257257
describe '#delete' do
258-
include_examples 'General error handling', :delete
259-
include_examples 'Node selection', :delete
258+
it_behaves_like 'General error handling', :delete
259+
it_behaves_like 'Node selection', :delete
260260
end
261261
end

0 commit comments

Comments
 (0)