aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Liu2017-02-24 17:21:50 -0500
committerJoshua Liu2017-02-24 17:21:50 -0500
commited72e02bbadaf2164bf359bf7e8eac9ffcbd0b9e (patch)
treea135660585e09c8a8b0e392bc43157ca8cc04089
parentb2795bc90239fc94dffdc0d1995bf0e8c844f28d (diff)
downloadbrew-ed72e02bbadaf2164bf359bf7e8eac9ffcbd0b9e.tar.bz2
Change deps_spec expect ordering
-rw-r--r--Library/Homebrew/test/deps_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/test/deps_spec.rb b/Library/Homebrew/test/deps_spec.rb
index c83577716..4c892c93d 100644
--- a/Library/Homebrew/test/deps_spec.rb
+++ b/Library/Homebrew/test/deps_spec.rb
@@ -10,22 +10,22 @@ describe "brew deps", :integration_test do
it "outputs no dependencies for a Formula that has no dependencies" do
expect { brew "deps", "foo" }
- .to output("").to_stdout
+ .to be_a_success
+ .and not_to_output.to_stdout
.and not_to_output.to_stderr
- .and be_a_success
end
it "outputs a dependency for a Formula that has one dependency" do
expect { brew "deps", "bar" }
- .to output("foo\n").to_stdout
+ .to be_a_success
+ .and output("foo\n").to_stdout
.and not_to_output.to_stderr
- .and be_a_success
end
it "outputs all of a Formula's dependencies and their dependencies on separate lines" do
expect { brew "deps", "baz" }
- .to output("bar\nfoo\n").to_stdout
+ .to be_a_success
+ .and output("bar\nfoo\n").to_stdout
.and not_to_output.to_stderr
- .and be_a_success
end
end