Skip to content

Commit

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

0 comments on commit db8afd6

Please sign in to comment.