diff --git a/spec/integration/dry_validation/dry_validation_spec.rb b/spec/integration/dry_validation/dry_validation_spec.rb index 699891d32..6333bdacd 100644 --- a/spec/integration/dry_validation/dry_validation_spec.rb +++ b/spec/integration/dry_validation/dry_validation_spec.rb @@ -73,12 +73,6 @@ end end - describe '.inherits' do - subject { described_class } - - it { is_expected.to be < Grape::Validations::Validators::Base } - end - context 'with simple schema, pre-defined' do let(:contract) do Dry::Schema.Params do @@ -242,4 +236,12 @@ end end end + + describe Grape::Validations::ContractScope::Validator do + describe '.inherits' do + subject { described_class } + + it { is_expected.to be < Grape::Validations::Validators::Base } + end + end end