Sha256: 1cf356e7ce680e802d5bd07924067b7ce6bed6d04a74e26c94941e6a4175748a
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
# frozen_string_literal: true require 'coveralls' Coveralls.wear! if ENV['CI'] == 'true' require 'rake' require 'pp' require 'fakefs/spec_helpers' require 'rspec_junit_formatter' require 'climate_control' require 'rspec/support/object_formatter' RSpec.configure do |config| config.add_formatter RspecJunitFormatter, ENV['JUNIT_OUTPUT'] || 'spec/reports/rspec.xml' RSpec::Support::ObjectFormatter.default_instance.max_formatted_output_length = 2_000 # Disable RSpec exposing methods globally on `Module` and `main` config.disable_monkey_patching! config.filter_run_when_matching :focus # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = "spec/reports/.rspec_status" config.expect_with :rspec do |expectations| expectations.syntax = :expect expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.shared_context_metadata_behavior = :apply_to_host_groups def with_modified_env(options, &block) ClimateControl.modify(options, &block) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
git_lib-2.1.0 | spec/spec_helper.rb |
git_lib-2.0.0 | spec/spec_helper.rb |