Permalink
Browse files

I missed a test

  • Loading branch information...
1 parent 6d4dc53 commit 014a69af1cdce619de82afaf6cdb4e6ac658fede @adamhjk adamhjk committed Jun 10, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 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")

0 comments on commit 014a69a

Please sign in to comment.