mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Merge pull request #1765 from bjfish/update-load-path
Avoid adding project directory to the load path for tests
This commit is contained in:
commit
6bfea8087e
1 changed files with 0 additions and 2 deletions
2
Rakefile
2
Rakefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue