spec/grape/validations/instance_behaivour_spec.rb in grape-1.6.2 vs spec/grape/validations/instance_behaivour_spec.rb in grape-1.7.0

- old
+ new

@@ -1,8 +1,6 @@ # frozen_string_literal: true -require 'spec_helper' - describe 'Validator with instance variables' do let(:validator_type) do Class.new(Grape::Validations::Validators::Base) do def validate_param!(_attr_name, _params) if instance_variable_defined?(:@instance_variable) && @instance_variable