Sha256: 93fbe9140406953ed119c85feb9ef27da407a00ee30da8a336f0d2447e22c950
Contents?: true
Size: 651 Bytes
Versions: 3
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.2?#{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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
dpickett-monkey_party-0.0.3 | test/test_helper.rb |
dpickett-monkey_party-0.1.0 | test/test_helper.rb |
monkey_party-0.2.0 | test/test_helper.rb |