diff options
-rw-r--r-- | dev-ruby/sawyer/sawyer-0.7.0.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-ruby/sawyer/sawyer-0.7.0.ebuild b/dev-ruby/sawyer/sawyer-0.7.0.ebuild index da866baeccbe..50673c564ef6 100644 --- a/dev-ruby/sawyer/sawyer-0.7.0.ebuild +++ b/dev-ruby/sawyer/sawyer-0.7.0.ebuild @@ -20,3 +20,8 @@ IUSE="" ruby_add_rdepend "<dev-ruby/faraday-0.10 <dev-ruby/addressable-2.5" + +all_ruby_prepare() { + # Avoid tests that require network acces + sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die +} |