Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
ericproulx committed Oct 26, 2024
1 parent 6e12833 commit 3cdcf42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/grape/validations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2031,8 +2031,7 @@ def validate_param!(attr_name, params)
let(:short_name) { :custom }
let(:custom_validator) do
Class.new(Grape::Validations::Validators::Base) do
def validate_param!(_attr_name, _params)
end
def validate_param!(_attr_name, _params); end
end
end

Expand Down

0 comments on commit 3cdcf42

Please sign in to comment.