Skip to content

Commit

Permalink
fix spec that was already failing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfilib committed Mar 21, 2018
1 parent db01100 commit 6e5d9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/grape-swagger/entities/response_model_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def app
expect(subject['definitions'].keys).to include 'Something'
expect(subject['definitions']['Something']).to eq(
'type' => 'object',
'description' => 'This returns something or an error',
'description' => 'This returns something',
'properties' =>
{ 'text' => { 'type' => 'string', 'description' => 'Content of something.' },
'colors' => { 'type' => 'array', 'items' => { 'type' => 'string' }, 'description' => 'Colors' },
Expand Down

0 comments on commit 6e5d9bb

Please sign in to comment.