summaryrefslogtreecommitdiff
path: root/spec/install/gems/mirror_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/gems/mirror_spec.rb')
-rw-r--r--spec/install/gems/mirror_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/gems/mirror_spec.rb b/spec/install/gems/mirror_spec.rb
index ba2e502099..e7b4317f05 100644
--- a/spec/install/gems/mirror_spec.rb
+++ b/spec/install/gems/mirror_spec.rb
@@ -15,7 +15,7 @@ describe "bundle install with a mirror configured" do
it "installs from the normal location" do
bundle :install
expect(out).to include("Fetching source index from file:#{gem_repo1}")
- expect(the_bundle).to have_installed "rack 1.0"
+ expect(the_bundle).to include_gems "rack 1.0"
end
end
@@ -34,7 +34,7 @@ describe "bundle install with a mirror configured" do
bundle :install
expect(out).to include("Fetching source index from file:#{gem_repo1}")
expect(out).not_to include("Fetching source index from file:#{gem_repo2}")
- expect(the_bundle).to have_installed "rack 1.0"
+ expect(the_bundle).to include_gems "rack 1.0"
end
end
end