Sha256: f5d28ea00a6f81f5c392cb0453e5edbce1ebe4d98799af252751afe7b42d5cfa

Contents?: true

Size: 542 Bytes

Versions: 2

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

require 'rspec'
require 'whois'

SPEC_ROOT = File.expand_path(__dir__) unless defined?(SPEC_ROOT)

# The fixtures are UTF-8 encoded.
# Make sure Ruby uses the proper encoding.
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].sort.each { |f| require f }

RSpec.configure do |config|
  config.mock_with :rspec
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whois-5.1.1 spec/spec_helper.rb
whois-5.1.0 spec/spec_helper.rb