Package: ruby-coveralls / 0.8.22-2

02_disable_vcr.diff Patch series | download
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
Description: Disable vcr
Author: Miguel Landaeta <nomadium@debian.org>
Forwarded: no
Last-Update: 2014-03-04

--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,7 @@
 require 'simplecov'
 require 'webmock'
-require 'vcr'
+# vcr tests are excluded because is not available in Debian yet: #695195.
+#require 'vcr'
 
 # We do not need pry to run tests during the build
 #require 'pry' if RUBY_VERSION > "1.8.7"
@@ -30,10 +31,10 @@ setup_formatter
 
 require 'coveralls'
 
-VCR.configure do |c|
-  c.cassette_library_dir = 'fixtures/vcr_cassettes'
-  c.hook_into :webmock
-end
+#VCR.configure do |c|
+#  c.cassette_library_dir = 'fixtures/vcr_cassettes'
+#  c.hook_into :webmock
+#end
 
 RSpec.configure do |config|
   config.run_all_when_everything_filtered = true