Sha256: 20e75c81e5549bdd6241690f5aa63aa9ad75d47e8192f6d83906fbf3eb3976df

Contents?: true

Size: 868 Bytes

Versions: 6

Compression:

Stored size: 868 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(:each) { WebMock.disable_net_connect!(allow_localhost: true) }
  config.after(:each) { 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

6 entries across 6 versions & 1 rubygems

Version Path
berkeley_library-util-0.1.5 spec/spec_helper.rb
berkeley_library-util-0.1.4 spec/spec_helper.rb
berkeley_library-util-0.1.3 spec/spec_helper.rb
berkeley_library-util-0.1.2 spec/spec_helper.rb
berkeley_library-util-0.1.1 spec/spec_helper.rb
berkeley_library-util-0.1.0 spec/spec_helper.rb