Enable Rubocop RSpec/NotToNot (#23723)
This commit is contained in:
parent
a2fdb388eb
commit
65ba0d92ef
40 changed files with 94 additions and 214 deletions
|
@ -147,8 +147,8 @@ RSpec.describe Remotable do
|
|||
let(:code) { 500 }
|
||||
|
||||
it 'does not assign file' do
|
||||
expect(foo).not_to receive(:public_send).with("#{hoge}=", any_args)
|
||||
expect(foo).not_to receive(:public_send).with("#{hoge}_file_name=", any_args)
|
||||
expect(foo).to_not receive(:public_send).with("#{hoge}=", any_args)
|
||||
expect(foo).to_not receive(:public_send).with("#{hoge}_file_name=", any_args)
|
||||
|
||||
foo.hoge_remote_url = url
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue