From 5dd4ae4722b884ef00886aed34f6c29f7c1a1b30 Mon Sep 17 00:00:00 2001 From: Alessandro Palmeira Date: Fri, 22 Feb 2013 15:21:24 +0000 Subject: [PATCH] [Mezuro] Fixing step "I update" to "I fill the fields" --- plugins/mezuro/features/reading_group.feature | 12 ++++++------ plugins/mezuro/features/repository.feature | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/mezuro/features/reading_group.feature b/plugins/mezuro/features/reading_group.feature index 70b2262..81d3d53 100644 --- a/plugins/mezuro/features/reading_group.feature +++ b/plugins/mezuro/features/reading_group.feature @@ -65,9 +65,9 @@ Feature: Reading Group And I am on article "Sample Reading group" And I should be on /joaosilva/sample-reading-group And I follow "Edit" - When I update this Mezuro reading group with the following data - | Title | Another Reading group | - | Description | Another Description | + When I fill the fields with the new following data + | article_name | Another Reading group | + | article_description | Another Description | And I press "Save" Then I should see "Another Reading group" And I should see "Another Description" @@ -99,9 +99,9 @@ Feature: Reading Group And I am on article "Sample Reading group" And I should be on /joaosilva/sample-reading-group And I follow "Edit" - When I update this Mezuro reading group with the following data - | Title | Another Reading group | - | Description | Another Description | + When I fill the fields with the new following data + | article_name | Another Reading group | + | article_description | Another Description | And I press "Save" Then I should see "Slug The title (article name) is already being used by another article, please use another title." diff --git a/plugins/mezuro/features/repository.feature b/plugins/mezuro/features/repository.feature index b7869bd..1df5f17 100644 --- a/plugins/mezuro/features/repository.feature +++ b/plugins/mezuro/features/repository.feature @@ -16,6 +16,10 @@ Feature: Repository | name | Sample Project | | description | Sample Description | | community | mycommunity | + And I have a Mezuro configuration with the following data + | name | Sample Configuration| + | description | Sample Description | + | user | joaosilva | And I am on article "Sample Project" And I should be on /mycommunity/sample-project @@ -31,10 +35,6 @@ Feature: Repository And I should see "Add" button Scenario: I want to add a repository with no name - And I have a Mezuro configuration with the following data - | name | Sample Configuration| - | description | Sample Description | - | user | joaosilva | Given I follow "Add Repository" When I fill the fields with the new following data | repository_name | | -- libgit2 0.21.2