use strict;
use warnings;
use RT;
-use RT::Test nodb => 1, tests => 7;
+use RT::Test nodb => 1, tests => undef;
+use Test::Warn;
use RT::Squish;
-my $squish = RT::Squish->new();
+my $squish;
+warning_like {
+ $squish = RT::Squish->new();
+} [qr/implement/], "warns this is only an abstract base class";
+
for my $method ( qw/Content ModifiedTime ModifiedTimeString Key/ ) {
can_ok($squish, $method);
}
use RT::Squish::CSS;
can_ok('RT::Squish::CSS', 'Style');
+
+done_testing;