Skip to content

Commit

Permalink
Merge pull request #1645 from SUSE/depfu/update/rubocop-rails-2.26.2
Browse files Browse the repository at this point in the history
Update rubocop-rails 2.25.1 → 2.26.2 (minor)
  • Loading branch information
danidoni authored Sep 23, 2024
2 parents 02ee49a + 61da528 commit 8bcb1bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,10 @@ GEM
rubocop (~> 1.41)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-rails (2.25.1)
rubocop-rails (2.26.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop (>= 1.52.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (3.0.5)
rubocop (~> 1.61)
Expand Down
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# run twice. It is recommended that you do not name files matching this glob to
# end with _spec.rb. You can configure this pattern with the --pattern
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
Rails.root.glob('spec/support/**/*.rb').each { |f| require f }

# Checks for pending migrations before tests are run.
# If you are not using ActiveRecord, you can remove this line.
Expand Down
2 changes: 1 addition & 1 deletion spec/support/sphinx_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ def index
end

def index_finished?
Dir[Rails.root.join(ThinkingSphinx::Test.config.indices_location, '*.{new,tmp}*')].empty?
Rails.root.glob("#{ThinkingSphinx::Test.config.indices_location}/*.{new,tmp}*").empty?
end
end

0 comments on commit 8bcb1bf

Please sign in to comment.