Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

I missed a test

  • Loading branch information...
commit 014a69af1cdce619de82afaf6cdb4e6ac658fede 1 parent 6d4dc53
@adamhjk adamhjk authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  chef/spec/unit/provider/remote_file_spec.rb
View
1  chef/spec/unit/provider/remote_file_spec.rb
@@ -41,6 +41,7 @@
@rest = mock(Chef::REST, { })
@tempfile = mock(Tempfile, { :path => "/tmp/foo", })
@tempfile.stub!(:open).and_return(@tempfile)
+ @tempfile.stub!(:closed?).and_return(false)
@tempfile.stub!(:close)
@rest.stub!(:get_rest).and_return(@tempfile)
@resource = Chef::Resource::RemoteFile.new("seattle")
Please sign in to comment.
Something went wrong with that request. Please try again.