diff options
| author | Markus Reiter | 2017-02-25 09:01:24 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-02-25 09:08:05 +0100 |
| commit | ec0f2187a24fcbed41ee58719e0928dfe9155bba (patch) | |
| tree | 55fc0cf3ab9772c77274973436982b0815f351df /Library/Homebrew/test/cmd/install_spec.rb | |
| parent | a2b4ee1ecd9ac5c91f9b5b3a6710f926cc237d15 (diff) | |
| download | brew-ec0f2187a24fcbed41ee58719e0928dfe9155bba.tar.bz2 | |
Avoid warnings when HOMEBREW_PREFIX/bin is not in PATH.
Diffstat (limited to 'Library/Homebrew/test/cmd/install_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/cmd/install_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index e5b5ec631..c1240a30e 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -19,7 +19,7 @@ describe "brew install", :integration_test do expect { brew "install", "testball1" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/0\.1}).to_stdout - .and output(/not in your PATH/).to_stderr + .and not_to_output.to_stderr .and be_a_success expect { brew "install", "testball1" } @@ -62,7 +62,7 @@ describe "brew install", :integration_test do expect { brew "install", "testball1" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/1\.0}).to_stdout - .and output(/not in your PATH/).to_stderr + .and not_to_output.to_stderr .and be_a_success FileUtils.rm path @@ -88,7 +88,7 @@ describe "brew install", :integration_test do expect { brew "install", "testball1", "--devel" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/3\.0}).to_stdout - .and output(/not in your PATH/).to_stderr + .and not_to_output.to_stderr .and be_a_success expect { brew "unlink", "testball1" } @@ -98,7 +98,7 @@ describe "brew install", :integration_test do expect { brew "install", "testball1" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/2\.0}).to_stdout - .and output(/not in your PATH/).to_stderr + .and not_to_output.to_stderr .and be_a_success shutup do @@ -181,7 +181,7 @@ describe "brew install", :integration_test do # formula since we only have testball1 formula. expect { brew "install", "testball1", "--HEAD", "--ignore-dependencies" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/HEAD\-d5eb689}).to_stdout - .and output(/not in your PATH/).to_stderr + .and output(/Cloning into/).to_stderr .and be_a_success expect { brew "install", "testball1", "--HEAD", "--ignore-dependencies" } @@ -196,7 +196,7 @@ describe "brew install", :integration_test do expect { brew "install", "testball1" } .to output(%r{#{HOMEBREW_CELLAR}/testball1/1\.0}).to_stdout - .and output(/not in your PATH/).to_stderr + .and not_to_output.to_stderr .and be_a_success end @@ -220,7 +220,7 @@ describe "brew install", :integration_test do # FIXME: This should output to STDERR. expect { brew "install", "testball1" } .to output(/NonFatalRequirement unsatisfied!/).to_stdout - .and output(/not in your PATH/).to_stderr + .and not_to_output.to_stderr .and be_a_success end |
