~sergiodj/debian_ruby-rack-proxy

859759267c145a9ba3e2c5f14d5910f276fcbe78 — Sergio Durigan Junior 6 years ago a5b0beb
Prevent testcases that access the internet to run

Some testcases (test/http_streaming_response_test.rb and
test/rack_proxy_test.rb) try to access the internet, but that is
against Debian Policy guidelines, and therefore we need to disable
them.

Closes: #860198
1 files changed, 1 insertions(+), 1 deletions(-)

M debian/ruby-tests.rake
M debian/ruby-tests.rake => debian/ruby-tests.rake +1 -1
@@ 2,5 2,5 @@ require 'gem2deb/rake/testtask'

Gem2Deb::Rake::TestTask.new do |t|
  t.libs = ['test']
  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] - FileList['test/net_http_hacked_test.rb']
  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] - FileList['test/net_http_hacked_test.rb'] - FileList['test/http_streaming_response_test.rb'] - FileList['test/rack_proxy_test.rb']
end