Two new tests for snippet. Almost at 100% coverage for snippet now.

This commit is contained in:
Roy Johnson 2006-11-08 20:42:36 +00:00
parent 0e7711c279
commit 2733d4f9a9

View file

@ -59,11 +59,17 @@ isnt ($output, undef, 'view method returns something');
# What about our snippet?
ok ($output =~ /Gooey's milkshake brings all the girls to the yard\.\.\./, 'view method output has our snippet in it');
my $wwwViewOutput = $snippet->www_view;
isnt ($wwwViewOutput, undef, 'www_view returns something');
my $editOutput = $snippet->www_edit;
isnt ($editOutput, undef, 'www_edit returns something');
TODO: {
local $TODO = "Tests to make later";
ok(0, 'Test indexContent method');
ok(0, 'Test www_edit method');
ok(0, 'Test www_view method... maybe?');
#ok(0, 'Test www_edit method');
#ok(0, 'Test www_view method... maybe?');
}
END {