Skip to content

Commit 5b3b8b3

Browse files
committed
Freeze rubocop version, fix linting issue
1 parent 60f3695 commit 5b3b8b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ gem 'rake', '~> 13.0'
1515
gem 'rspec', '~> 3.9'
1616
gem 'rspec_junit_formatter', '~> 0.4'
1717
gem 'rspec-legacy_formatters', '~> 1.0' # For codecov formatter
18-
gem 'rubocop', '~> 1.12'
18+
gem 'rubocop', '1.72.2'
1919
gem 'rubocop-rspec', '~> 3.6', require: false
2020
gem 'simplecov', '~> 0.18'
2121
gem 'timecop', '~> 0.9'

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def typesense_healthy?(host = 'localhost', port = 8108)
3434
false
3535
end
3636

37-
def start_typesense_if_needed
37+
def ensure_typesense_running
3838
if typesense_healthy?
3939
puts '✅ Typesense is already running and healthy, ready for use in integration tests'
4040
return false
@@ -95,7 +95,7 @@ def stop_typesense_if_started
9595
config.shared_context_metadata_behavior = :apply_to_host_groups
9696

9797
config.before(:suite) do
98-
start_typesense_if_needed
98+
ensure_typesense_running
9999
WebMock.disable_net_connect!
100100
end
101101

0 commit comments

Comments
 (0)