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
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -15,7 +15,8 @@
end
end
-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
|