Skip to content

Commit 4ef2fe2

Browse files
committed
Stop modifying LOAD_PATH in specs
rspec automatically adds `spec/` to the load path, and adding `lib/` to the load path does not serve a purpose from what I can see.
1 parent a35652c commit 4ef2fe2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

spec/spec_helper.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
require 'faker'
2323
require 'threads'
2424

25-
$LOAD_PATH.unshift(File.dirname(__FILE__))
26-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
27-
2825
require 'meilisearch-rails'
2926
require 'rspec'
3027
require 'rails/all'

0 commit comments

Comments
 (0)