diff options
author | Asutosh Palai <asupalai@gmail.com> | 2016-06-30 21:09:49 +0530 |
---|---|---|
committer | Asutosh Palai <asupalai@gmail.com> | 2016-07-03 09:41:58 +0530 |
commit | 08f4586f75c161eecc518f6544537d490c355423 (patch) | |
tree | d185ce8318e5a04bda0b5f1e0d921d0ca4b00de2 | |
parent | a7688b5201109e9b845cbe5c5b007c2c3ad29f22 (diff) | |
download | bundler-08f4586f75c161eecc518f6544537d490c355423.tar.gz |
Spec fixes for older versions
-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 |