summaryrefslogtreecommitdiff
path: root/spec/cache/path_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/cache/path_spec.rb')
-rw-r--r--spec/cache/path_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/cache/path_spec.rb b/spec/cache/path_spec.rb
index 72b12948f4..4233b3e88b 100644
--- a/spec/cache/path_spec.rb
+++ b/spec/cache/path_spec.rb
@@ -12,7 +12,7 @@ require "spec_helper"
bundle "#{cmd} --all"
expect(bundled_app("vendor/cache/foo-1.0")).not_to exist
- expect(the_bundle).to have_installed "foo 1.0"
+ expect(the_bundle).to include_gems "foo 1.0"
end
it "copies when the path is outside the bundle " do
@@ -27,7 +27,7 @@ require "spec_helper"
expect(bundled_app("vendor/cache/foo-1.0/.bundlecache")).to be_file
FileUtils.rm_rf lib_path("foo-1.0")
- expect(the_bundle).to have_installed "foo 1.0"
+ expect(the_bundle).to include_gems "foo 1.0"
end
it "copies when the path is outside the bundle and the paths intersect" do
@@ -45,7 +45,7 @@ require "spec_helper"
expect(bundled_app("vendor/cache/#{libname}/.bundlecache")).to be_file
FileUtils.rm_rf libpath
- expect(the_bundle).to have_installed "#{libname} 1.0"
+ expect(the_bundle).to include_gems "#{libname} 1.0"
end
it "updates the path on each cache" do