Commit cd97bfb36bbc8856aafdd5bf381aaa4272342623

Authored by Rafael Manzo
Committed by Heitor
1 parent fb8eaf51

Acceptance test for repository branch behaviour

Showing 1 changed file with 6 additions and 2 deletions   Show diff stats
features/repository/create.feature
... ... @@ -13,8 +13,12 @@ Scenario: repository creation
13 13 And I fill the Name field with "Kalibro"
14 14 And I fill the Description field with "Description"
15 15 And I set the select field "License" as "ISC License (ISC)"
16   - And I fill the Address field with "https://github.com/mezuro/kalibro_client.git"
17   - And I set the select field "Type" as "GIT"
  16 + When I set the select field "Type" as "SVN"
  17 + Then I should not see "Branch"
  18 + When I set the select field "Type" as "GIT"
  19 + Then I should see "Branch"
  20 + Given I fill the Address field with "https://github.com/mezuro/kalibro_client.git"
  21 + And I set the select field "Branch" as "master"
18 22 And I set the select field "Process Period" as "1 day"
19 23 And I set the select field "Configuration" as "Java"
20 24 When I press the Save button
... ...