Sha256: 365785c7c8b3f13efdaf129ec2203f9f562e33ba65115a122e4d5bda5edeefbb
Contents?: true
Size: 582 Bytes
Versions: 1
Compression:
Stored size: 582 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' 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 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dry-validation-0.6.0 | spec/spec_helper.rb |