Permalink
Browse files

Remove binmode, fixing tests on Windows

  • Loading branch information...
1 parent e1152ab commit 6b20399d1c64f665d25b93b242fa6da4eb987f70 John Keiser committed Dec 17, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 chef/spec/unit/provider/cookbook_file_spec.rb
@@ -190,7 +190,6 @@
before do
Chef::FileAccessControl.any_instance.stub(:modified?).and_return(false)
@tempfile = Tempfile.open('cookbook_file_spec')
- @tempfile.binmode
@new_resource.path(@target_file = @tempfile.path)
@tempfile.write(@file_content)
@tempfile.close

0 comments on commit 6b20399

Please sign in to comment.