#!/usr/bin/env perl
use
Test::More;
use
Apache::SiteConfig;
# default template
my
$deploy
= Apache::SiteConfig::Deploy->new;
$deploy
->{args} = {
name
=>
'foo'
,
domain
=>
'foo.com'
,
domain_alias
=>
'bar.com'
,
sites_dir
=>
'testing_root'
,
};
$deploy
->deploy();
ok( -e
'testing_root/foo'
);
rmtree
'testing_root'
;
done_testing;