Skip to content

Commit

Permalink
Remove test for headBlock handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Feb 4, 2010
1 parent 2f8aff5 commit 5203c35
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions t/Asset/Template.t
Expand Up @@ -16,7 +16,7 @@ use WebGUI::Test;
use WebGUI::Session;
use WebGUI::Asset::Template;
use Exception::Class;
use Test::More tests => 43; # increment this value for each test you create
use Test::More tests => 41; # increment this value for each test you create
use Test::Deep;
use JSON qw{ from_json };

Expand Down Expand Up @@ -74,13 +74,9 @@ is($templateCopy->get('isDefault'), 0, 'isDefault set to 0 on copy');
my $template3 = $importNode->addChild({
className => "WebGUI::Asset::Template",
title => 'headBlock test',
headBlock => "tag1 tag2 tag3",
template => "this is a template",
});

ok(!$template3->get('headBlock'), 'headBlock is empty');
is($template3->get('extraHeadTags'), 'tag1 tag2 tag3', 'extraHeadTags contains headBlock info');

my @atts = (
{type => 'headScript', sequence => 1, url => 'bar'},
{type => 'headScript', sequence => 0, url => 'foo'},
Expand Down

0 comments on commit 5203c35

Please sign in to comment.