X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Factions.t;h=584ec36fa31f1b339b1ad8e428ede7e4f11c4d97;hb=2daa653a58384970b813ea933d125c4a88dad853;hp=1d83aa124219d06cce538ba1c39942fd50b4439e;hpb=a4ffdd456d97ad50f05d803977c3f891ae84d052;p=catagits%2FHTML-Zoom.git diff --git a/t/actions.t b/t/actions.t index 1d83aa1..584ec36 100644 --- a/t/actions.t +++ b/t/actions.t @@ -67,7 +67,7 @@ is( ($expect = $tmpl) =~ s/class="main"/class="main foo"/; is( - run_for { $_->add_attribute({ name => 'class', value => 'foo' }) }, + run_for { $_->add_to_attribute({ name => 'class', value => 'foo' }) }, $expect, 'add attribute on existing attribute' ); @@ -75,7 +75,7 @@ is( ($expect = $tmpl) =~ s/class="main"/class="main" foo="bar"/; is( - run_for { $_->add_attribute({ name => 'foo', value => 'bar' }) }, + run_for { $_->add_to_attribute({ name => 'foo', value => 'bar' }) }, $expect, 'add attribute on non existing attribute' );