From f9cb2dd457b8515e470a5926995023b3a46231d7 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 27 Aug 2010 16:02:45 -0300 Subject: [PATCH] Adjusting acceptance test --- features/contact.feature | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/features/contact.feature b/features/contact.feature index 0f3809a..23e1be6 100644 --- a/features/contact.feature +++ b/features/contact.feature @@ -12,13 +12,16 @@ In order to ask questions and solve problems | sample-community | Sample Community | And I am logged in as "joaosilva" - Scenario: contact us show state field only if there is any state + Scenario: without states Given I am on Sample Community's homepage - When I follow "Contact us" + When I follow "Send a message" Then I should not see "City and state" + + Scenario: with states Given the following states | name | | Bahia | - When I follow "Contact us" + And I am on Sample Community's homepage + When I follow "Send a message" Then I should see "City and state" -- libgit2 0.21.2