Skip to content

Commit

Permalink
Rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
storey committed Apr 18, 2024
1 parent 5eb2456 commit cf0e3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/grape-swagger/entity/attribute_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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') }
Expand Down

0 comments on commit cf0e3b6

Please sign in to comment.