diff options
author | Igor Bozato <igor.hrk@gmail.com> | 2017-06-22 14:05:44 -0300 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-09-08 10:46:55 -0700 |
commit | e1bbd9330d203fa4c37384a0ac60de195545056f (patch) | |
tree | 95d78f63c7dd60060b05e041182f5c2c556e2e1e | |
parent | c69452ecc970818cdabf045ce3c06ed8907aa559 (diff) | |
download | bundler-e1bbd9330d203fa4c37384a0ac60de195545056f.tar.gz |
Refactor spec
-rw-r--r-- | spec/install/path_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb index 2de2f5983d..8d42cba5b7 100644 --- a/spec/install/path_spec.rb +++ b/spec/install/path_spec.rb @@ -55,9 +55,9 @@ RSpec.describe "bundle install" do it "installs the bundle relatively to current working directory" do Dir.chdir(bundled_app.parent) do - bundle "install --gemfile='#{bundled_app}/Gemfile' --path vendor/bundle" + bundle! "install --gemfile='#{bundled_app}/Gemfile' --path vendor/bundle" expect(out).to include("installed into ./vendor/bundle") - expect(Dir.exist?("vendor/bundle")).to be true + expect(bundled_app("../vendor/bundle")).to be_directory end end end |