From cd97bfb36bbc8856aafdd5bf381aaa4272342623 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Wed, 10 Jun 2015 18:35:23 -0300 Subject: [PATCH] Acceptance test for repository branch behaviour --- features/repository/create.feature | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/features/repository/create.feature b/features/repository/create.feature index f1bf74a..d23c686 100644 --- a/features/repository/create.feature +++ b/features/repository/create.feature @@ -13,8 +13,12 @@ Scenario: repository creation And I fill the Name field with "Kalibro" And I fill the Description field with "Description" And I set the select field "License" as "ISC License (ISC)" - And I fill the Address field with "https://github.com/mezuro/kalibro_client.git" - And I set the select field "Type" as "GIT" + When I set the select field "Type" as "SVN" + Then I should not see "Branch" + When I set the select field "Type" as "GIT" + Then I should see "Branch" + Given I fill the Address field with "https://github.com/mezuro/kalibro_client.git" + And I set the select field "Branch" as "master" And I set the select field "Process Period" as "1 day" And I set the select field "Configuration" as "Java" When I press the Save button -- libgit2 0.21.2