Skip to content

Commit

Permalink
Fix Rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Oct 24, 2024
1 parent dfd3c76 commit 4ce5d42
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ module VERSION
RAILS_ENV = 'test' unless defined?(RAILS_ENV)
## END ##

current_dir = File.expand_path(File.dirname(File.dirname(__FILE__)))

# Requires supporting ruby files with custom matchers and macros, etc, in
# spec/support/ and its subdirectories.
Dir[File.join(current_dir, 'spec/support/**/*.rb')].each { |f| require f }
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Configure RSpec
RSpec.configure do |config|
Expand Down

0 comments on commit 4ce5d42

Please sign in to comment.