Skip to content

Commit 2a72175

Browse files
committed
Fix spec
1 parent db8afd6 commit 2a72175

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

spec/integration/dry_validation/dry_validation_spec.rb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@
7373
end
7474
end
7575

76-
describe '.inherits' do
77-
subject { described_class }
78-
79-
it { is_expected.to be < Grape::Validations::Validators::Base }
80-
end
81-
8276
context 'with simple schema, pre-defined' do
8377
let(:contract) do
8478
Dry::Schema.Params do
@@ -242,4 +236,12 @@
242236
end
243237
end
244238
end
239+
240+
describe Grape::Validations::ContractScope::Validator do
241+
describe '.inherits' do
242+
subject { described_class }
243+
244+
it { is_expected.to be < Grape::Validations::Validators::Base }
245+
end
246+
end
245247
end

0 commit comments

Comments
 (0)