[Jifty-commit] r4496 - in apps/spensive: .

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Nov 20 12:13:15 EST 2007


Author: jesse
Date: Tue Nov 20 12:13:12 2007
New Revision: 4496

Added:
   apps/spensive/t/01-basic.t
Modified:
   apps/spensive/   (props changed)

Log:
 r67609 at pinglin (orig r7418):  sartak | 2007-09-26 15:32:28 -0400
  r43120 at onn:  sartak | 2007-09-26 15:32:20 -0400
  Start adding a test with Jifty::Test::WWW::Declare
 


Added: apps/spensive/t/01-basic.t
==============================================================================
--- (empty file)
+++ apps/spensive/t/01-basic.t	Tue Nov 20 12:13:12 2007
@@ -0,0 +1,21 @@
+#!/usr/bin/env perl
+use warnings;
+use strict;
+use Jifty::Test::WWW::Declare tests => 3;
+
+session user => run {
+    flow login => check {
+        get '/';
+        title should equal "Login!";
+        content should contain "No account yet?";
+
+        flow create => check {
+            follow_link text => "Sign up for an account!";
+            url should contain "signup";
+            content should contain "Nickname";
+            content should contain "Password";
+            content should contain "Type that again?";
+        };
+    };
+};
+


More information about the Jifty-commit mailing list