From fc57164db30abeea8c5f4e774e9f5665ea55775f Mon Sep 17 00:00:00 2001 From: Yomi Colledge Date: Fri, 18 Jun 2010 20:04:20 +0100 Subject: [PATCH] Refactored the remainder scenarios, one more step to do before we finish here --- features/plain/feature_form_validation.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/plain/feature_form_validation.feature b/features/plain/feature_form_validation.feature index dcb6b4ff..e3e5a6dc 100644 --- a/features/plain/feature_form_validation.feature +++ b/features/plain/feature_form_validation.feature @@ -36,14 +36,14 @@ Feature: Feature forms should have client side validations When I click new features And we fill in the feature as_a with 'use' Then submit the form - And the "feature" "as_a" "input" should have an error class + And I should see "Please enter at least 4 characters." within "li#feature_as_a_input" Scenario: The "i_want" field should have more than 7 characters Given I can view the features page When I click new features And we fill in the feature i_want with 'not' Then submit the form - And the "feature" "i_want" "input" should have an error class + And I should see "Please enter at least 7 characters." within "li#feature_i_want_input" Scenario: A feature must be unique Given I can view the features page