diff options
Diffstat (limited to 'spec/install/redownload_spec.rb')
-rw-r--r-- | spec/install/redownload_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/redownload_spec.rb b/spec/install/redownload_spec.rb index c880b8bb15..818c33bd61 100644 --- a/spec/install/redownload_spec.rb +++ b/spec/install/redownload_spec.rb @@ -17,7 +17,7 @@ RSpec.describe "bundle install" do 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 |