Sha256: 8ac349dcad8bd6eb836a4560eb35fec0766a986992b0b03710df512836c33a88
Contents?: true
Size: 782 Bytes
Versions: 1
Compression:
Stored size: 782 Bytes
Contents
require "codeclimate-test-reporter" SimpleCov.start do formatter SimpleCov::Formatter::MultiFormatter[SimpleCov::Formatter::HTMLFormatter,CodeClimate::TestReporter::Formatter] add_filter "/support/responses" end require 'rspec' require 'json' require 'webmock/rspec' require 'enceladus' require 'factory_girl' require 'faker' require File.dirname(__FILE__) + "/support/api_resource" RSpec.configure do |config| config.mock_with :rspec config.include FactoryGirl::Syntax::Methods FactoryGirl.find_definitions WebMock.disable_net_connect!(allow: "codeclimate.com") config.before do |example| Enceladus::Configuration::Api.instance.send(:api_key=, "token") unless example.metadata[:logger_test] Enceladus::Logger.logger_output = nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enceladus-0.0.7 | spec/spec_helper.rb |