diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-10-04 08:53:49 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-10-04 08:54:13 +0200 |
commit | 3f956da559bbb8f927633d8830373005d61fc08d (patch) | |
tree | 5ca9fe23f8130a4dfafa8c61cbc0140d8176c571 /dev-ruby/http | |
parent | dev-ruby/mini_magick: add 4.3.5 (diff) | |
download | gentoo-3f956da559bbb8f927633d8830373005d61fc08d.tar.gz gentoo-3f956da559bbb8f927633d8830373005d61fc08d.tar.bz2 gentoo-3f956da559bbb8f927633d8830373005d61fc08d.zip |
dev-ruby/http: fix tests
Avoid specs that require network access.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/http')
-rw-r--r-- | dev-ruby/http/http-0.9.8.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-ruby/http/http-0.9.8.ebuild b/dev-ruby/http/http-0.9.8.ebuild index 196ca4884993..d4751d420f15 100644 --- a/dev-ruby/http/http-0.9.8.ebuild +++ b/dev-ruby/http/http-0.9.8.ebuild @@ -32,4 +32,10 @@ ruby_add_bdepend " all_ruby_prepare() { sed -i -e '/simplecov/,/end/ s:^:#:' \ -e '1irequire "cgi"' spec/spec_helper.rb || die + + # Avoid specs that require network access + sed -i -e '/.persistent/,/^ end/ s:^:#:' \ + spec/lib/http_spec.rb || die + sed -i -e '/with non-ASCII URLs/,/^ end/ s:^:#:' \ + spec/lib/http/client_spec.rb || die } |