blob: 01639857c92f4ef8c327b37ae423d3e3bfa80642 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require "testing_env"
class IntegrationCommandTestDeps < IntegrationCommandTestCase
def test_deps
setup_test_formula "foo"
setup_test_formula "bar"
setup_test_formula "baz", <<-EOS.undent
url "https://example.com/baz-1.0"
depends_on "bar"
EOS
assert_equal "", cmd("deps", "foo")
assert_equal "foo", cmd("deps", "bar")
assert_equal "bar\nfoo", cmd("deps", "baz")
end
end
|