fix for a test to reflect that exportGetUrlAsPath now calls exportCheckPath

This commit is contained in:
Chris Nehren 2008-04-20 23:14:28 +00:00
parent 0830985e2b
commit 9e8ecd20d7

View file

@ -381,7 +381,11 @@ cmp_deeply(
);
# the exception was thrown, but make sure that the file also wasn't written
ok(!-e $home->exportGetUrlAsPath->absolute->stringify, "exportWriteFile does not write the file when it can't create the exportPath");
# can't call exportGetUrlAsPath on $home right now, since the path is
# inaccessible and exportGetUrlAsPath calls exportCheckPath which throws an
# exception. therefore, specify this single specific case specifically for the
# sake of the test.
ok(!-e Path::Class::File->new($unwritablePath, 'home', 'index.html')->absolute->stringify, "exportWriteFile does not write the file when it can't create the exportPath");
# let's go a level deeper
# but reset the exportPath first