spec/spec_helper.rb in enceladus-0.0.2 vs spec/spec_helper.rb in enceladus-0.0.3
- old
+ new
@@ -1,7 +1,7 @@
-require 'coveralls'
-Coveralls.wear! do
+require "codeclimate-test-reporter"
+CodeClimate::TestReporter.start do
add_filter "/support/responses"
end
require 'rspec'
require 'json'
@@ -12,9 +12,11 @@
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each { |file| require file }
RSpec.configure do |c|
c.mock_with :rspec
+ WebMock.disable_net_connect!(allow: "codeclimate.com")
+
c.before do
Enceladus::Configuration::Api.instance.send(:api_key=, "token")
end
-end
\ No newline at end of file
+end