Skip to content

Commit

Permalink
improved portability of Mojo::Asset::File tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 14, 2013
1 parent be2f33d commit c602724
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
@@ -1,5 +1,6 @@

3.86 2013-02-14
- Improved portability of Mojo::Asset::File tests.
- Improved documentation.
- Improved tests. (jberger, sri)

Expand Down
2 changes: 1 addition & 1 deletion t/mojo/asset.t
Expand Up @@ -173,7 +173,7 @@ ok !$asset->is_file, 'stored in memory';

# Temporary directory
{
mkpath my $tmpdir = catdir tmpdir, 'test';
mkpath my $tmpdir = catdir tmpdir, "mojo_asset_test_$$";
local $ENV{MOJO_TMPDIR} = $tmpdir;
$file = Mojo::Asset::File->new;
is($file->tmpdir, $tmpdir, 'same directory');
Expand Down

0 comments on commit c602724

Please sign in to comment.