Skip to content

Commit

Permalink
Update spec/grape/api_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Jacob <[email protected]>
  • Loading branch information
ericproulx and manueljacob authored Jul 23, 2024
1 parent f9b3e9b commit 923f785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/grape/api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2193,7 +2193,7 @@ def foo
expect(last_response.body).to eq('Formatter Error')
end

context 'when block returns an invalid response' do
context 'when rescue_from block returns an invalid response' do
it 'returns a formatted response' do
subject.rescue_from(:all) { 'error' }
subject.get('/') { raise }
Expand Down

0 comments on commit 923f785

Please sign in to comment.