fixup todo-forms.t and rename to forms.t (now works)
Matt S Trout [Sun, 10 Oct 2010 09:00:33 +0000 (10:00 +0100)]
t/forms.t [moved from t/todo-forms.t with 79% similarity]

similarity index 79%
rename from t/todo-forms.t
rename to t/forms.t
index a1bed00..c2badfc 100644 (file)
+++ b/t/forms.t
@@ -28,7 +28,13 @@ my $h = $zoom->select('.myform')->repeat_content([
            } } @fields
        ])->to_html;
 
-warn $h;
+is($h, q{<form class="myform" action="/somewhere">
+<label for="foo">foo</label>
+<input name="foo" type="text" value="0" />
+
+<label for="bar">bar</label>
+<input name="bar" type="radio" value="1" />
+</form>
+}, 'render all ok');
 
-ok 1;
 done_testing;