Sha256: c912f777de29f485ae801041e6fba86af59c1dad0596f6becbe3e77f5e433196

Contents?: true

Size: 854 Bytes

Versions: 4

Compression:

Stored size: 854 Bytes

Contents

# ------------------------------------------------------------
# Simplecov

require 'colorize'
require 'simplecov' if ENV['COVERAGE']

# ------------------------------------------------------------
# RSpec

require 'webmock/rspec'

RSpec.configure do |config|
  config.color = true
  config.tty = true
  config.formatter = :documentation
  config.before { WebMock.disable_net_connect!(allow_localhost: true) }
  config.after { WebMock.allow_net_connect! }
  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end
  config.shared_context_metadata_behavior = :apply_to_host_groups
end

# ------------------------------------------------------------
# Code under test

require 'berkeley_library/util'

FileUtils.mkdir_p('log')
BerkeleyLibrary::Logging.logger = BerkeleyLibrary::Logging::Loggers.new_readable_logger('log/test.log')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
berkeley_library-util-0.1.9 spec/spec_helper.rb
berkeley_library-util-0.1.8 spec/spec_helper.rb
berkeley_library-util-0.1.7 spec/spec_helper.rb
berkeley_library-util-0.1.6 spec/spec_helper.rb