Revert "Fix test"

This reverts commit 22f1114b7f.
This commit is contained in:
KMY 2023-12-21 10:42:29 +09:00
parent bd1f8b45d5
commit a21c0b9d3e

View file

@ -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