[Jifty-commit] r3148 - in jifty/trunk: t/TestApp/t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Apr 17 02:58:04 EDT 2007
Author: jesse
Date: Tue Apr 17 02:58:04 2007
New Revision: 3148
Modified:
jifty/trunk/ (props changed)
jifty/trunk/t/TestApp/t/15-template-subclass.t
Log:
r55590 at apc: jesse | 2007-04-16 21:15:39 +0200
* Quiet down falsely failing todo tests in template sublcassing.
Modified: jifty/trunk/t/TestApp/t/15-template-subclass.t
==============================================================================
--- jifty/trunk/t/TestApp/t/15-template-subclass.t (original)
+++ jifty/trunk/t/TestApp/t/15-template-subclass.t Tue Apr 17 02:58:04 2007
@@ -68,16 +68,18 @@
isa_ok( $server, 'Jifty::Server' );
my $URL = $server->started_ok;
-TODO: {
-
-local $TODO = " Template subclassing needs some love";
my $mech = Jifty::Test::WWW::Mechanize->new;
foreach my $test (@tests) {
$mech->get_ok( $URL . $test->{url}, "get '$URL: /jifty/jifty/trunk/t/TestApp/t/15-template-subclass.t $test->{url}'" );
- $mech->content_contains( $test->{text}, "found content '$test->{text}'" );
-}
+ TODO: {
-};
+ local $TODO = " Template subclassing needs some love";
+ ok($mech->content =~ qr{$test->{text}}, "found the test content");
+ # $mech->content_contains breaks on multiline content
+ #$mech->content_contains( $test->{text}, "found content '$test->{text}'" );
+ };
+
+}
1;
More information about the Jifty-commit
mailing list