diff --git a/features/project/create.feature b/features/project/create.feature index f8913e2..b78d2e1 100644 --- a/features/project/create.feature +++ b/features/project/create.feature @@ -18,4 +18,25 @@ Feature: Project Creation And I fill the Description field with "Web Service to collect metrics" When I press the Create Project button Then I should see Kalibro - And I should see Web Service to collect metrics \ No newline at end of file + And I should see Web Service to collect metrics + + @kalibro_restart + Scenario: project creation with already taken name + Given I am a regular user + And I am signed in + And I have a project named "Kalibro" + And I am at the New Project page + And I fill the Name field with "Kalibro" + And I fill the Description field with "Web Service to collect metrics" + When I press the Create Project button + Then I should see There's already + + @kalibro_restart + Scenario: project creation with blank name + Given I am a regular user + And I am signed in + And I am at the New Project page + And I fill the Name field with " " + And I fill the Description field with "Web Service to collect metrics" + When I press the Create Project button + Then I should see Name can't be blank \ No newline at end of file -- libgit2 0.21.2