Add test for non-default template path

This commit is contained in:
Chris de Graaf 2017-08-16 01:47:46 -05:00
parent af744a21a2
commit 8434be6bf1

View File

@ -203,6 +203,12 @@ end
@test LibGit2.url(remote) == "https://gitlab.com/invenia/TestPkg.jl"
rm(Pkg.dir(test_pkg); recursive=true)
temp_dir = mktempdir()
t = Template(; user="invenia", dir=temp_dir)
generate(test_pkg, t)
@test isdir(joinpath(temp_dir, test_pkg))
rm(temp_dir; recursive=true)
t = Template(;
user="invenia",
license="MIT",