test/test_helper.rb in aggcat-0.1.0 vs test/test_helper.rb in aggcat-0.1.1

- old
+ new

@@ -1,13 +1,21 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'simplecov' +require 'coveralls' + +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter +] SimpleCov.start require 'webmock/test_unit' require 'test/unit' require 'aggcat' + +WebMock.disable_net_connect!(:allow => 'coveralls.io') def stub_delete(path) stub_request(:delete, Aggcat::Client::BASE_URL + path) end