diff options
Diffstat (limited to 'spec/cache/path_spec.rb')
-rw-r--r-- | spec/cache/path_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/cache/path_spec.rb b/spec/cache/path_spec.rb index 79e8b4a82b..3f3d4ec893 100644 --- a/spec/cache/path_spec.rb +++ b/spec/cache/path_spec.rb @@ -31,8 +31,8 @@ RSpec.describe "bundle cache with path" do end it "copies when the path is outside the bundle and the paths intersect" do - libname = File.basename(Dir.pwd) + "_gem" - libpath = File.join(File.dirname(Dir.pwd), libname) + libname = File.basename(bundled_app) + "_gem" + libpath = File.join(File.dirname(bundled_app), libname) build_lib libname, :path => libpath |