Skip to content
Snippets Groups Projects
Commit ed72e02b authored by Joshua Liu's avatar Joshua Liu
Browse files

Change deps_spec expect ordering

parent b2795bc9
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment