From f1c40c559473762840c708ef5a1cd1b3dec42648 Mon Sep 17 00:00:00 2001 From: Matt Rogers Date: Thu, 1 Sep 2011 23:08:53 -0500 Subject: [PATCH] Fix up the selenium tests There was a selenium test that verified that projects could not have commas that was previously missed. Modify that test so that it verifies that the project was created successfully. --- features/project_list.feature | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/features/project_list.feature b/features/project_list.feature index 862716cd..b78b2aba 100644 --- a/features/project_list.feature +++ b/features/project_list.feature @@ -109,7 +109,9 @@ Feature: Manage the list of projects Then the project "very busy" should be above the project "test" @selenium - Scenario: Cannot add a project with comma in the name + Scenario: Can add a project with comma in the name When I go to the projects page And I submit a new project with name "foo,bar" - Then I should see "Name cannot contain the comma" + Then I should see "foo,bar" + And the badge should show 4 + And the project list badge for "active" projects should show 4