Skip to content

Commit

Permalink
Change tests to not expect Path::Class
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Jun 17, 2016
1 parent ffae0e4 commit a1c249f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Changes
Expand Up @@ -2,6 +2,8 @@ Revision history for {{$dist->name}}

{{$NEXT}}

- Change tests to not expect Path::Class for compatibility with dzil v6.

4.212 2016-03-06T02:36:26Z

- Keep the 'for test_synopsis' portion.
Expand Down
8 changes: 4 additions & 4 deletions t/mint.t
Expand Up @@ -3,7 +3,7 @@ use strict;
use warnings;
use Test::More 0.96;
use lib 't/lib';
use Path::Class;
use Path::Tiny;
use Test::DZil;
use Git::Wrapper;
use File::Temp qw( tempfile );
Expand Down Expand Up @@ -31,13 +31,13 @@ close $tmpfile;
my $tzil = Minter->_new_from_profile(
[ 'Author::RWSTAUNER' => 'default' ],
{ name => $dist_name ,},
{ global_config_root => dir(qw( corpus global ))->absolute },
{ global_config_root => path(qw( corpus global ))->absolute },
);

$tzil->mint_dist();

my $mint_dir = $tzil->tempdir->subdir('mint');
my $dir = $mint_dir->subdir('t');
my $mint_dir = path($tzil->tempdir)->child('mint');
my $dir = $mint_dir->child('t');

ok -d $dir, 'created t in mint dir';

Expand Down

0 comments on commit a1c249f

Please sign in to comment.