Sha256: 811deec368f06b819dea3cecd59316f84f4498ac1967015b6c53f15ffb5716fb
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
require "codeclimate-test-reporter" CodeClimate::TestReporter.start cwd = File.expand_path(File.dirname(__FILE__)) require "#{cwd}/../config/load" require "#{cwd}/fixtures" Dir["#{cwd}/support/*.rb"].sort.each do |helper| require helper end CC::Service.load_services require "#{cwd}/support/service_context" # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| config.expect_with :rspec do |expectations| # This option will default to `true` in RSpec 4. It makes the `description` # and `failure_message` of custom matchers include text for helper methods # defined using `chain`, e.g.: # be_bigger_than(2).and_smaller_than(4).description # # => "be bigger than 2 and smaller than 4" # ...rather than: # # => "be bigger than 2" expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| # Prevents you from mocking or stubbing a method that does not exist on # a real object. This is generally recommended, and will default to # `true` in RSpec 4. mocks.verify_partial_doubles = true end # This setting enables warnings. It's recommended, but in some cases may # be too noisy due to issues in dependencies. config.warnings = true config.before(:each) do stub_resolv(anything, "1.1.1.1") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
codeclimate-services-1.8.0 | spec/spec_helper.rb |