From 45b8ff701768357e93d10a376b9351d2867a2bd3 Mon Sep 17 00:00:00 2001 From: Pedro Bruel Date: Fri, 28 Mar 2014 14:23:18 -0300 Subject: [PATCH] Added acceptance test for non numerical grade. --- features/reading/edit.feature | 13 +++++++++++++ 1 file changed, 13 insertions(+), 0 deletions(-) diff --git a/features/reading/edit.feature b/features/reading/edit.feature index 1bbe9dd..ca5c86e 100644 --- a/features/reading/edit.feature +++ b/features/reading/edit.feature @@ -43,3 +43,16 @@ Feature: Reading Edit When I fill the Label field with "Average" And I press the Save button Then I should see "There's already" + + @kalibro_restart + Scenario: editing a reading with non numerical value + Given I am a regular user + And I am signed in + And I own a sample reading group + And I have a sample reading within the sample reading group + And I am at the Edit Reading page + When I fill the Label field with "macaco" + And I fill the Grade field with "z" + And I fill the Color field with "FFFFFF" + And I press the Save button + Then I should see "Grade is not a number" -- libgit2 0.21.2