summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-06-30 21:09:49 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-07-03 09:41:58 +0530
commit08f4586f75c161eecc518f6544537d490c355423 (patch)
treed185ce8318e5a04bda0b5f1e0d921d0ca4b00de2
parenta7688b5201109e9b845cbe5c5b007c2c3ad29f22 (diff)
downloadbundler-08f4586f75c161eecc518f6544537d490c355423.tar.gz
Spec fixes for older versions
-rw-r--r--lib/bundler/source/path/installer.rb2
-rw-r--r--spec/bundler/plugin/api/source_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/path/installer.rb b/lib/bundler/source/path/installer.rb
index 4fc5c807a5..abc46d5a04 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 70b4843e5f..7f610d669a 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