diff options
| author | adrian | 2017-06-01 17:45:07 -0700 |
|---|---|---|
| committer | adrian | 2017-06-01 17:45:07 -0700 |
| commit | de78999defacb0dff102635457884730ff059d0b (patch) | |
| tree | c04b161f345ccbaf2afe10399283c27447564448 /Library/Homebrew/test | |
| parent | 8b26deef20697c3d68fc42987f2513cb1e953c77 (diff) | |
| download | brew-de78999defacb0dff102635457884730ff059d0b.tar.bz2 | |
don't try to find the full path of the editor in 'brew edit'
fixes #2709
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/utils_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/utils_spec.rb b/Library/Homebrew/test/utils_spec.rb index be224990a..f3bf98486 100644 --- a/Library/Homebrew/test/utils_spec.rb +++ b/Library/Homebrew/test/utils_spec.rb @@ -188,14 +188,14 @@ describe "globally-scoped helper methods" do end specify "#which_editor" do - ENV["HOMEBREW_EDITOR"] = "vemate" + ENV["HOMEBREW_EDITOR"] = "vemate -w" ENV["HOMEBREW_PATH"] = dir editor = "#{dir}/vemate" FileUtils.touch editor FileUtils.chmod 0755, editor - expect(which_editor).to eql editor + expect(which_editor).to eq("vemate -w") end specify "#gzip" do |
