From 39e1ba90a2dc0bfe0a11a31b8ff5d84d685c65c4 Mon Sep 17 00:00:00 2001 From: Paulo Meirelles + Alessandro Palmeira Date: Thu, 18 Oct 2012 17:34:57 -0300 Subject: [PATCH] [Mezuro] Fixing create project acceptance test --- plugins/mezuro/features/creating_project.feature | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/plugins/mezuro/features/creating_project.feature b/plugins/mezuro/features/creating_project.feature index 22fe9ff..66e5b21 100644 --- a/plugins/mezuro/features/creating_project.feature +++ b/plugins/mezuro/features/creating_project.feature @@ -31,24 +31,23 @@ Feature: Create project Given I am on My Community's control panel When I create a Mezuro project with the following data | Title | Sample Project | - | License | GPL | + | License | GNU General Public License version 2.0 (GPL-2.0) | | Repository type | SUBVERSION | | Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | | Configuration | Kalibro for Java | Then I should see "Sample Project" - And I should see "GPL" + And I should see "GNU General Public License version 2.0 (GPL-2.0)" And I should see "SUBVERSION" And I should see "https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator" And I should see "Kalibro for Java" - And I directly delete content with name "Sample Project" for testing purposes Scenario: I can't create a Mezuro project with invalid attributes Given I am on My Community's control panel When I create a Mezuro project with the following data | Title | | - | License | GPL | + | License | GNU General Public License version 2.0 (GPL-2.0) | | Repository type | SUBVERSION | | Repository url | | | Configuration | Kalibro for Java | - Then I should see "Title can't be blank" - And I should see "Missing repository url" + Then I should see "The highlighted fields are mandatory." + And I should see "Repository URL is mandatory" -- libgit2 0.21.2