1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Disable ruby-vcr tests
Author: Miguel Landaeta <nomadium@debian.org>
Forwarded: no
Last-Update: 2014-03-04
--- ruby-docker-api-1.8.4.orig/spec/spec_helper.rb
+++ ruby-docker-api-1.8.4/spec/spec_helper.rb
@@ -4,7 +4,8 @@ require 'rspec'
require 'simplecov'
require 'docker'
-Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
+# vcr tests are excluded because is not available in Debian yet: #695195.
+Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].reject { |f| f =~ /vcr/ }.each { |f| require f }
RSpec.configure do |config|
config.mock_with :rspec
|