diff options
-rw-r--r-- | lib/bundler/source/path/installer.rb | 2 | ||||
-rw-r--r-- | spec/bundler/plugin/api/source_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/path/installer.rb b/lib/bundler/source/path/installer.rb index 4fc5c807..abc46d5a 100644 --- a/lib/bundler/source/path/installer.rb +++ b/lib/bundler/source/path/installer.rb @@ -24,7 +24,7 @@ module Bundler end def post_install - SharedHelpers.chdir(gem_dir) do + SharedHelpers.chdir(@gem_dir) do run_hooks(:pre_install) unless @disable_extentions diff --git a/spec/bundler/plugin/api/source_spec.rb b/spec/bundler/plugin/api/source_spec.rb index 70b4843e..7f610d66 100644 --- a/spec/bundler/plugin/api/source_spec.rb +++ b/spec/bundler/plugin/api/source_spec.rb @@ -13,7 +13,7 @@ describe Bundler::Plugin::API::Source do describe "attributes" do it "allows access to uri" do - expect(source.uri).to be("uri://to/test") + expect(source.uri).to eq("uri://to/test") end it "allows access to name" do |