Sha256: b1e4b7b7b9c9cb7bfec985890ab0a9f3fcbf2b45a1bcd57256566ec63e815de6

Contents?: true

Size: 994 Bytes

Versions: 1

Compression:

Stored size: 994 Bytes

Contents

# frozen_string_literal: true

require 'gladwords'
require 'adwords_api'
require 'pry'

root = Pathname(__FILE__).dirname

Dir[root.join('{shared,support}/**/*.rb')].each { |f| require f }
Dir[root.join('shared/**/*.rb')].each { |f| require f }

RSpec.configure do |config|
  config.include AdwordsHelpers

  config.expect_with :rspec do |expectations|
    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

  config.shared_context_metadata_behavior = :apply_to_host_groups
  config.disable_monkey_patching!
  config.filter_run_when_matching :focus
  config.example_status_persistence_file_path = 'tmp/examples.txt'
  config.order = :random
  config.formatter = :documentation
  Kernel.srand config.seed
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gladwords-1.0.1 spec/spec_helper.rb