aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-04-23 15:10:18 +0100
committerMike McQuaid2017-04-23 15:10:18 +0100
commit45a7730f61ab24a0e5e3bc00d757a4521c2e1c1d (patch)
treee477b153613853aa26091920cf9fc407688fdad2 /Library/Homebrew/test/cmd
parente7e53b89fce480cb4f35d801cc293ef23787fcaf (diff)
downloadbrew-45a7730f61ab24a0e5e3bc00d757a4521c2e1c1d.tar.bz2
Fix and remove various TODOs.
Fix those that can be done so without tearing Homebrew to pieces and remove the comments for those that can never be done.
Diffstat (limited to 'Library/Homebrew/test/cmd')
-rw-r--r--Library/Homebrew/test/cmd/install_spec.rb10
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