Permalink
Browse files

photos controller test

  • Loading branch information...
1 parent 703b88f commit 3b86a52c11b0cba08b37ea225dde5b69a467e531 @tempire committed Apr 2, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 t/photos.t
View
@@ -0,0 +1,11 @@
+use Test::Most;
+use Test::Mojo;
+
+use Nempire;
+
+my $t = Test::Mojo->new(app => 'Nempire');
+$t->get_ok('/photos')->status_is(200)
+ ->element_exists('div#photosets')
+ ->content_like(qr/\d+\s+photos in\s+\d+\s+albums/i);
+
+done_testing;

0 comments on commit 3b86a52

Please sign in to comment.