diff options
author | Colby <colby@taplaboratories.com.au> | 2016-07-14 20:12:33 +1000 |
---|---|---|
committer | Colby <colby@taplaboratories.com.au> | 2016-07-14 20:13:46 +1000 |
commit | 629e322d043c104f9aa03daadfda46e5d121c7d6 (patch) | |
tree | 91602a2b5ef6a5a5f0fa788a1370e94142e76dca /spec/install/path_spec.rb | |
parent | 150cb828cf7305950c870e8e43d2d1f9c7e461f7 (diff) | |
download | bundler-629e322d043c104f9aa03daadfda46e5d121c7d6.tar.gz |
rework specs from previous commit
Diffstat (limited to 'spec/install/path_spec.rb')
-rw-r--r-- | spec/install/path_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb index 4076eec22a..731deb6480 100644 --- a/spec/install/path_spec.rb +++ b/spec/install/path_spec.rb @@ -130,21 +130,21 @@ describe "bundle install" do end end - describe "to a dead symlink" do + describe "to a file" do before do in_app_root do - `ln -s /tmp/idontexist bundle` + `touch /tmp/idontexist bundle` end end - it "reports the symlink is dead" do + it "reports the file exists" do gemfile <<-G source "file://#{gem_repo1}" gem "rack" G bundle "install --path bundle" - expect(out).to match(/invalid symlink/) + expect(out).to match(/file already exists/) end end end |