Sha256: 26d05d5ac8e1211a433df2b3b01ff9911fee75be55fccea662ca5143a2892e0f
Contents?: true
Size: 815 Bytes
Versions: 7
Compression:
Stored size: 815 Bytes
Contents
# encoding: utf-8 begin require 'byebug' rescue LoadError; end if RUBY_ENGINE == "rbx" require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require 'dry-validation' require 'ostruct' SPEC_ROOT = Pathname(__dir__) Dir[SPEC_ROOT.join('shared/**/*.rb')].each(&method(:require)) Dir[SPEC_ROOT.join('support/**/*.rb')].each(&method(:require)) include Dry::Validation module Types include Dry::Types.module end Dry::Validation::Deprecations.configure do |config| config.logger = Logger.new(SPEC_ROOT.join('../log/deprecations.log')) end RSpec.configure do |config| config.disable_monkey_patching! config.after do if defined?(I18n) I18n.load_path = Dry::Validation.messages_paths.dup I18n.backend.reload! end end config.include PredicatesIntegration end
Version data entries
7 entries across 7 versions & 1 rubygems