зеркало из https://github.com/github/licensed.git
Add test case for composer dev dependencies
This commit is contained in:
Родитель
d64b840fa4
Коммит
305e3fc623
|
@ -70,6 +70,13 @@ if Licensed::Shell.tool_available?("php")
|
|||
refute source.dependencies.detect { |dep| dep.name == "phpunit/php-file-iterator" }
|
||||
end
|
||||
end
|
||||
|
||||
it "includes dev dependencies if enabled" do
|
||||
config["composer"] = { "include_dev" => true }
|
||||
Dir.chdir fixtures do
|
||||
assert source.dependencies.detect { |dep| dep.name == "phpunit/php-file-iterator" }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe "composer_application_path" do
|
||||
|
|
Загрузка…
Ссылка в новой задаче