spec/spec_helper.rb in sniffles-0.0.3 vs spec/spec_helper.rb in sniffles-0.1.0

- old
+ new

@@ -1,10 +1,13 @@ require File.expand_path(File.dirname(__FILE__) + '/../lib/sniffles') -require 'vcr' require 'typhoeus' +require 'vcr' +SNIFFER_COUNT = Dir.glob("lib/sniffles/sniffers/**/*.rb").count +SNIFFER_GROUP_COUNT = Dir.glob("lib/sniffles/sniffers/**").count + VCR.configure do |c| c.cassette_library_dir = 'spec/cassettes' c.hook_into :typhoeus c.configure_rspec_metadata! end @@ -12,6 +15,7 @@ RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus + config.extend VCR::RSpec::Macros end