1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Author: Christian Hofstaedtler <christian@hofstaedtler.name>
Forwarded: not-needed
Last-updated: 2012-05-05
Description: Disable test requiring Internet
Package builds can not rely on working Internet to be available.
As skip() does not work on 1.8, this patch comments the test out.
--- a/test/test_webrobots.rb
+++ b/test/test_webrobots.rb
@@ -615,7 +615,7 @@ Disallow: /
}
end
end
- end
+ end if false
context "meta robots tag" do
setup do
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -10,12 +10,6 @@
require 'test/unit'
require 'shoulda'
require 'webmock/test_unit'
-require 'vcr'
-
-VCR.configure do |c|
- c.cassette_library_dir = 'test/vcr_cassettes'
- c.hook_into :webmock
-end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
|