From cf0e3b6db4c9d33d33fb8dc47c168fe3be2f09ee Mon Sep 17 00:00:00 2001 From: Grant Storey Date: Thu, 18 Apr 2024 15:18:58 -0700 Subject: [PATCH] Rubocop fix --- spec/grape-swagger/entity/attribute_parser_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/grape-swagger/entity/attribute_parser_spec.rb b/spec/grape-swagger/entity/attribute_parser_spec.rb index ea4092a..d67fe82 100644 --- a/spec/grape-swagger/entity/attribute_parser_spec.rb +++ b/spec/grape-swagger/entity/attribute_parser_spec.rb @@ -86,7 +86,7 @@ end context 'when it contains values array' do - let(:entity_options) { { documentation: { type: 'string', desc: 'Colors', values: ['red', 'blue'] } } } + let(:entity_options) { { documentation: { type: 'string', desc: 'Colors', values: %w[red blue] } } } it { is_expected.to_not include('minimum') } it { is_expected.to_not include('maximum') }