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:
parent
ae70708d21
commit
0fb4d4ead2
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