Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ericproulx committed Oct 27, 2024
1 parent db8afd6 commit 2a72175
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions spec/integration/dry_validation/dry_validation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 2a72175

Please sign in to comment.