spec/spec_helper.rb in macaco-0.0.1 vs spec/spec_helper.rb in macaco-0.0.2
- old
+ new
@@ -1,7 +1,18 @@
-ENV['RACK_ENV'] = 'test'
+require 'rubygems'
require 'bundler'
Bundler.require
require 'minitest/autorun'
require 'minitest/pride'
-require './lib/macaco'
+require 'vcr'
+
+require 'macaco'
+
+VCR.configure do |c|
+ c.cassette_library_dir = 'fixtures/vcr_cassettes'
+ c.hook_into :webmock
+end
+
+Macaco.configure do |config|
+ config.api_key = ENV['MANDRILL_API_KEY']
+end
\ No newline at end of file