/[Grep]/t/00-model-Feed.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /t/00-model-Feed.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by dpavlin, Sat Feb 17 17:25:34 2007 UTC revision 166 by dpavlin, Wed Jul 4 08:58:51 2007 UTC
# Line 8  A basic test harness for the Feed model. Line 8  A basic test harness for the Feed model.
8    
9  =cut  =cut
10    
11  use Jifty::Test tests => 11;  use Jifty::Test tests => 13;
12    
13  use blib;  use blib;
14    
# Line 30  ok($id, "Feed create returned success"); Line 30  ok($id, "Feed create returned success");
30  ok($o->id, "New Feed has valid id set");  ok($o->id, "New Feed has valid id set");
31  is($o->id, $id, "Create returned the right id");  is($o->id, $id, "Create returned the right id");
32    
33    cmp_ok( $o->search_uri('foobar'), 'eq', 'http://saturn.ffzg.hr/noauth/feed/workspace/rot13?search_term=foobar', 'search_uri' );
34    cmp_ok( $o->home_page_uri, 'eq', 'http://saturn.ffzg.hr/noauth/feed/workspace/rot13', 'search_uri' );
35    
36  # And another  # And another
37  $o->create(  $o->create(
38          uri => 'https://blog.rot13.org/',          uri => 'https://blog.rot13.org/',

Legend:
Removed from v.4  
changed lines
  Added in v.166

  ViewVC Help
Powered by ViewVC 1.1.26