summaryrefslogtreecommitdiff
path: root/spec/install/force_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/force_spec.rb')
-rw-r--r--spec/install/force_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/force_spec.rb b/spec/install/force_spec.rb
index 3d38dbeeec..2027660cba 100644
--- a/spec/install/force_spec.rb
+++ b/spec/install/force_spec.rb
@@ -21,7 +21,7 @@ describe "bundle install" do
expect(out).to include "Using bundler"
expect(out).to include "Installing rack 1.0.0"
expect(rack_lib.open(&:read)).to eq("RACK = '1.0.0'\n")
- expect(the_bundle).to have_installed "rack 1.0.0"
+ expect(the_bundle).to include_gems "rack 1.0.0"
end
it "works on first bundle install" do
@@ -30,7 +30,7 @@ describe "bundle install" do
expect(exitstatus).to eq(0) if exitstatus
expect(out).to include "Using bundler"
expect(out).to include "Installing rack 1.0.0"
- expect(the_bundle).to have_installed "rack 1.0.0"
+ expect(the_bundle).to include_gems "rack 1.0.0"
end
end
end