Skip to content

Commit

Permalink
Fix Layout/ElseAlignment
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrodie committed Apr 29, 2024
1 parent 91cdf01 commit de7e820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/support/shared_examples/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def build_receiver
it 'gracefully handles non-json responses' do
subject = if defined? target
target
else
client.send(class_basename).build(described_class.key_attribute.to_s => '99999')
else
client.send(class_basename).build(described_class.key_attribute.to_s => '99999')
end
stub_request(:put, site_url + subject.url)
.to_return(status: 405, body: '<html><body>Some HTML</body></html>')
Expand Down

0 comments on commit de7e820

Please sign in to comment.