diff options
Diffstat (limited to 'spec/unit/provider/remote_file_spec.rb')
-rw-r--r-- | spec/unit/provider/remote_file_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/provider/remote_file_spec.rb b/spec/unit/provider/remote_file_spec.rb index de4a897847..d59d635a7c 100644 --- a/spec/unit/provider/remote_file_spec.rb +++ b/spec/unit/provider/remote_file_spec.rb @@ -32,7 +32,7 @@ describe Chef::Provider::RemoteFile do end let(:content) do - content = double('Chef::Provider::File::Content::RemoteFile') + double('Chef::Provider::File::Content::RemoteFile') end let(:node) { double('Chef::Node') } @@ -48,7 +48,6 @@ describe Chef::Provider::RemoteFile do subject(:provider) do provider = described_class.new(resource, run_context) allow(provider).to receive(:content).and_return(content) - allow(provider).to receive(:update_new_resource_checksum).and_return(nil) # Otherwise it doesn't behave like a File provider provider end |