1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Avoid adding project directory to the load path

This commit is contained in:
Brandon Fish 2022-03-01 14:08:16 -06:00
parent ae70708d21
commit 0fb4d4ead2

View file

@ -26,7 +26,6 @@ end
Rake::TestTask.new(:test) do |t|
t.test_files = FileList['test/*_test.rb']
t.ruby_opts = ['-r rubygems'] if defined? Gem
t.ruby_opts << '-I.'
t.warning = true
end
@ -37,7 +36,6 @@ Rake::TestTask.new(:"test:core") do |t|
routing server settings sinatra static templates]
t.test_files = core_tests.map {|n| "test/#{n}_test.rb"}
t.ruby_opts = ["-r rubygems"] if defined? Gem
t.ruby_opts << "-I."
t.warning = true
end