Sha256: 68dec0c00cde1d152c0ca30f0caf58cefc9ddbbed2b1a8d97166bdb35ebe6195

Contents?: true

Size: 726 Bytes

Versions: 7

Compression:

Stored size: 726 Bytes

Contents

require "rspec"
require "rspec/its"

require "simplecov"

require "factory_bot"
require 'contrast-agent'
Contrast::Agent::Patching::Policy::Patcher.patch

Dir["spec/support/**/*.rb"].each { |f| require File.expand_path(f) }

RSpec.configure do |config|
  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

  config.include DeclarationMatchers

  config.before do
    FactoryBot.reload
  end

  config.order = :random
  Kernel.srand config.seed

  config.example_status_persistence_file_path = "tmp/rspec_examples.txt"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
contrast-agent-3.10.2 resources/factory-bot-spec/spec_helper.rb
contrast-agent-3.10.1 resources/factory-bot-spec/spec_helper.rb
contrast-agent-3.10.0 resources/factory-bot-spec/spec_helper.rb
contrast-agent-3.9.1 resources/factory-bot-spec/spec_helper.rb
contrast-agent-3.9.0 resources/factory-bot-spec/spec_helper.rb
contrast-agent-3.8.5 resources/factory-bot-spec/spec_helper.rb
contrast-agent-3.8.4 resources/factory-bot-spec/spec_helper.rb