Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Revert "Write & read dummy gems binarily"
Browse files Browse the repository at this point in the history
This reverts commit f11c475.
  • Loading branch information
deivid-rodriguez committed Dec 13, 2019
1 parent 3bd06e7 commit 831093c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/install/redownload_spec.rb
Expand Up @@ -17,7 +17,7 @@
bundle! :install, flag => true

expect(out).to include "Installing rack 1.0.0"
expect(rack_lib.binread).to eq("RACK = '1.0.0'\n")
expect(rack_lib.open(&:read)).to eq("RACK = '1.0.0'\n")
expect(the_bundle).to include_gems "rack 1.0.0"
end

Expand Down
2 changes: 1 addition & 1 deletion spec/support/builders.rb
Expand Up @@ -632,7 +632,7 @@ def @spec.validate(*); end
@files.each do |file, source|
file = Pathname.new(path).join(file)
FileUtils.mkdir_p(file.dirname)
File.open(file, "wb") {|f| f.puts source }
File.open(file, "w") {|f| f.puts source }
end
@spec.files = @files.keys
path
Expand Down

0 comments on commit 831093c

Please sign in to comment.