diff options
Diffstat (limited to 'xt/cli/bundle.t')
-rw-r--r-- | xt/cli/bundle.t | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/xt/cli/bundle.t b/xt/cli/bundle.t new file mode 100644 index 0000000..aa84f24 --- /dev/null +++ b/xt/cli/bundle.t @@ -0,0 +1,19 @@ +use strict; +use Test::More; +use xt::CLI; + +{ + my $app = cli(); + + $app->write_cpanfile(<<EOF); +requires 'Try::Tiny', '== 0.12'; +EOF + + $app->run("install"); + $app->run("bundle"); + + ok -f ($app->dir . "/vendor/cache/authors/id/D/DO/DOY/Try-Tiny-0.12.tar.gz"); +} + +done_testing; + |