Sha256: a1c4115f0bb388192a875a2b3d6b69e884b80a0aa9ee1643d051a26a6f9afde3

Contents?: true

Size: 900 Bytes

Versions: 7

Compression:

Stored size: 900 Bytes

Contents

require 'simplecov'
require 'dotenv/load'
require 'byebug'

SimpleCov.start do
  add_filter '/spec/'
end

require 'bing_ads_ruby_sdk'

Dir[File.join(BingAdsRubySdk.root_path, "spec", "support", "**", "*.rb")].each { |f| require f }
Dir[File.join(BingAdsRubySdk.root_path, "log", "*.log")].each do |log_file|
  File.open(log_file, 'w') { |f| f.truncate(0) }
end

BingAdsRubySdk.configure do |conf|
  conf.log = true
  conf.logger.level = Logger::DEBUG
  conf.pretty_print_xml = true
  conf.filters = ["AuthenticationToken", "DeveloperToken", "CustomerId", "CustomerAccountId"]
end

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = '.rspec_status'

  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bing_ads_ruby_sdk-1.3.4 spec/spec_helper.rb
bing_ads_ruby_sdk-1.3.3 spec/spec_helper.rb
bing_ads_ruby_sdk-1.3.2 spec/spec_helper.rb
bing_ads_ruby_sdk-1.3.1 spec/spec_helper.rb
bing_ads_ruby_sdk-1.3.0 spec/spec_helper.rb
bing_ads_ruby_sdk-1.2.0 spec/spec_helper.rb
bing_ads_ruby_sdk-1.1.1 spec/spec_helper.rb