Address PR feedback
This commit is contained in:
parent
771aa1250d
commit
2cfb33801c
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue