Enable Rubocop RSpec/NotToNot (#23723)
This commit is contained in:
parent
a2fdb388eb
commit
65ba0d92ef
40 changed files with 94 additions and 214 deletions
|
@ -102,7 +102,7 @@ describe Request do
|
|||
|
||||
it 'accepts body less than 1 megabyte by default' do
|
||||
stub_request(:any, 'http://example.com').to_return(body: SecureRandom.random_bytes(2.kilobytes))
|
||||
expect { subject.perform { |response| response.body_with_limit } }.not_to raise_error
|
||||
expect { subject.perform { |response| response.body_with_limit } }.to_not raise_error
|
||||
end
|
||||
|
||||
it 'rejects body by given size' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue