From 05fb2c3e7acb897aa0e05ffc72c5a42ea2bf9fec Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Tue, 9 Aug 2011 21:49:52 +0200 Subject: [PATCH] Write cucumber test for unfollowing a tag directly from tag listing --- features/follows_tags.feature | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/features/follows_tags.feature b/features/follows_tags.feature index 4526f0026..49888d595 100644 --- a/features/follows_tags.feature +++ b/features/follows_tags.feature @@ -34,5 +34,10 @@ Feature: posting And I go to the home page Then I should not see "#boss" within ".left_nav" - - + Scenario: + When I go to the home page + And I preemptively confirm the alert + And I hover over the ".tag_selector" + And I follow "unfollow_boss" + And I wait for the ajax to finish + Then I should not see "#boss" within ".left_nav"