diff --git a/features/publish_article.feature b/features/publish_article.feature index b98b7d0..3530c37 100644 --- a/features/publish_article.feature +++ b/features/publish_article.feature @@ -113,7 +113,7 @@ Feature: publish article When I press "Ok!" Then I should see "Validation failed: Slug (the code generated from the article name) is already being used by another article." - Scenario: ask to publish an article and remove it before approval + Scenario: ask to publish an article that was deleted before approval Given I am logged in as "joaosilva" And "Joao Silva" is admin of "Sample Community" And I am on Sample Community's control panel @@ -128,8 +128,6 @@ Feature: publish article And "joaosilva" has no articles And I am on Sample Community's control panel When I follow "Tasks" - Then I should see "Joao Silva wanted to publish an article but it was removed. It cannot be approved." + Then I should see /Joao Silva wanted.*deleted/ And I press "Ok!" - And I am on Sample Community's control panel - When I follow "Tasks" - Then I should not see "Joao Silva wanted to publish an article but it was removed. It cannot be approved." + Then I should not see /Joao Silva wanted.*deleted/ -- libgit2 0.21.2