diff options
| author | Mike McQuaid | 2017-04-23 16:23:12 +0100 |
|---|---|---|
| committer | GitHub | 2017-04-23 16:23:12 +0100 |
| commit | f3dc06a4e7e81304b335bd0f34ef748b9d1a35a6 (patch) | |
| tree | e477b153613853aa26091920cf9fc407688fdad2 /Library/Homebrew/test | |
| parent | e7e53b89fce480cb4f35d801cc293ef23787fcaf (diff) | |
| parent | 45a7730f61ab24a0e5e3bc00d757a4521c2e1c1d (diff) | |
| download | brew-f3dc06a4e7e81304b335bd0f34ef748b9d1a35a6.tar.bz2 | |
Merge pull request #2532 from MikeMcQuaid/fix-todo
Fix and remove various TODOs.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/cmd/install_spec.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index c1240a30e..034bdd53f 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -217,10 +217,9 @@ describe "brew install", :integration_test do depends_on NonFatalRequirement EOS - # FIXME: This should output to STDERR. expect { brew "install", "testball1" } - .to output(/NonFatalRequirement unsatisfied!/).to_stdout - .and not_to_output.to_stderr + .to output(/NonFatalRequirement unsatisfied!/).to_stderr + .and output(/built in/).to_stdout .and be_a_success end @@ -234,10 +233,9 @@ describe "brew install", :integration_test do depends_on FatalRequirement EOS - # FIXME: This should output to STDERR. expect { brew "install", "testball1" } - .to output(/FatalRequirement unsatisfied!/).to_stdout - .and output(/An unsatisfied requirement failed this build./).to_stderr + .to output(/FatalRequirement unsatisfied!/).to_stderr + .and not_to_output.to_stdout .and be_a_failure end end |
