Fix test
This commit is contained in:
parent
f6e590f741
commit
22f1114b7f
1 changed files with 2 additions and 2 deletions
|
@ -178,11 +178,11 @@ RSpec.describe Remotable do
|
|||
|
||||
allow(foo).to receive(:public_send)
|
||||
foo.hoge_remote_url = url
|
||||
expect(foo).to have_received(:public_send).with("download_#{hoge}!", url)
|
||||
expect(foo).to have_received(:public_send).with(:"download_#{hoge}!", url)
|
||||
|
||||
allow(foo).to receive(:public_send)
|
||||
foo.download_hoge!(url)
|
||||
expect(foo).to have_received(:public_send).with("#{hoge}=", response_with_limit)
|
||||
expect(foo).to have_received(:public_send).with(:"#{hoge}=", response_with_limit)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue