Sha256: 131c5a8b42513968fb473160b15105fd7644b8dc87674546ba722f98d25d8fed

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

# frozen_string_literal: true

require 'rspec'
require 'whois'

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

# 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

1 entries across 1 versions & 1 rubygems

Version Path
whois-5.0.2 spec/spec_helper.rb