Address PR feedback

This commit is contained in:
Rob Hanlon 2022-08-10 09:49:48 -07:00
parent 771aa1250d
commit 2cfb33801c
No known key found for this signature in database
GPG Key ID: ABB8430EF3F61ABF
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ RSpec.describe "inheriting from a parent and extending its rules" do
context "one parent" do
let(:parent) do
Dry::Schema.define do
required(:foo).filled(:hash?)
required(:foo).filled(:hash)
end
end
@ -60,8 +60,8 @@ RSpec.describe "inheriting from a parent and extending its rules" do
required(:amaze).value(array[:string], size?: 1)
end
required(:friend).hash do
required(:wow).filled(eql?: "c")
required(:such).filled(eql?: "cool")
required(:wow).filled(:string, eql?: "c")
required(:such).filled(:string, eql?: "cool")
required(:amaze).value(array[:string], size?: 1)
end
end

View File

@ -6,7 +6,7 @@ require_relative "support/rspec_options"
Warning.ignore(%r{gems/i18n})
Warning.ignore(/byebug/)
# Warning.process { |w| raise w }
Warning.process { |w| raise w }
begin
require "pry-byebug"