Sha256: 8a4c0ab556597ebfaca8430124470441459a1c00e3d7b35d425eb9999cc31bbf
Contents?: true
Size: 651 Bytes
Versions: 1
Compression:
Stored size: 651 Bytes
Contents
require 'rubygems' require 'test/unit' require 'shoulda' begin require "redgreen" rescue LoadError; end require 'fake_web' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'monkey_party' FakeWeb.allow_net_connect = false configatron.mailchimp.api_key = "api_key" class Test::Unit::TestCase protected def mock_response(path, fixture) FakeWeb.register_uri( "http://api.mailchimp.com/1.1?#{path}", :response => xml_fixture_path(fixture)) end def xml_fixture_path(fixture) File.join(File.dirname(__FILE__), "fixtures", "#{fixture}.xml") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dpickett-monkey_party-0.0.1 | test/test_helper.rb |