spec/spec_helper.rb in sniffles-0.1.5 vs spec/spec_helper.rb in sniffles-0.2.0

- old
+ new

@@ -1,16 +1,20 @@ -require File.expand_path(File.dirname(__FILE__) + '/../lib/sniffles') -require File.expand_path(File.dirname(__FILE__) + '/../spec/support/helpers') +require 'bundler/setup' +Bundler.setup(:default, :test) + +require 'sniffles' require 'vcr' +require 'support/helpers' +require 'rspec/autorun' + VCR.configure do |c| c.cassette_library_dir = 'spec/cassettes' c.hook_into :typhoeus c.configure_rspec_metadata! end 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