From 883296e70eb123b1c1bd2a6c2a76c834d1fa59c0 Mon Sep 17 00:00:00 2001 From: Tim Madden Date: Thu, 1 Mar 2012 11:55:48 -0600 Subject: [PATCH] test for tags prepop --- features/tagging_todos.feature | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/features/tagging_todos.feature b/features/tagging_todos.feature index e6d5ecaa..9e4847cf 100644 --- a/features/tagging_todos.feature +++ b/features/tagging_todos.feature @@ -75,4 +75,10 @@ Feature: Tagging todos Then the tag field in the new todo form should be "tests" # and the tag field should be prefilled after submitting a new todo When I submit a new action with description "are my tags prefilled" - Then the tags of "are my tags prefilled" should be "tests" \ No newline at end of file + Then the tags of "are my tags prefilled" should be "tests" + + @selenium + Scenario: If there are todos for a tag, when viewing the tag's page, the Tags field for new todos should be defaulted to that tag + Given I have a todo "migrate old scripts" in context "@pc" with tags "starred" + When I go to the tag page for "starred" + Then the tag field in the new todo form should be "starred"