parent
bd1f8b45d5
commit
a21c0b9d3e
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