diff --git a/spec/integration/dry_validation/dry_validation_spec.rb b/spec/integration/dry_validation/dry_validation_spec.rb index f1ec6baf9..699891d32 100644 --- a/spec/integration/dry_validation/dry_validation_spec.rb +++ b/spec/integration/dry_validation/dry_validation_spec.rb @@ -62,12 +62,6 @@ end describe 'Grape::Validations::ContractScope' do - describe '.inherits' do - subject { described_class } - - it { is_expected.to be < Grape::Validations::Validators::Base } - end - let(:validated_params) { {} } let(:app) do vp = validated_params @@ -79,6 +73,12 @@ 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