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.
This commit is contained in:
Matt Rogers 2011-09-01 23:08:53 -05:00
parent 55bf457740
commit f1c40c5594

View file

@ -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