Commit 202b94a28fd7a7a9eaae17296433c6c255f340d5

Authored by Joenio Costa
1 parent 4c679824

Fixing acceptance tests for changes made by ActionItem1566

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
features/publish_article.feature
... ... @@ -54,7 +54,7 @@ Feature: publish article
54 54 And I follow "Spread"
55 55 And I check "Sample Community"
56 56 When I press "Publish"
57   - Then I should see "Validation failed: Slug (the code generated from the article name) is already being used by another article.:"
  57 + Then I should see "Validation failed: The title (article name) is already being used by another article, please use another title.:"
58 58  
59 59 Scenario: publishing an article in many communities and listing the communities that couldn't publish the article again,
60 60 stills publishing the article in the other communities.
... ... @@ -79,7 +79,7 @@ Feature: publish article
79 79 And I check "Another Community1"
80 80 And I check "Another Community2"
81 81 When I press "Publish"
82   - Then I should see "Validation failed: Slug (the code generated from the article name) is already being used by another article.:"
  82 + Then I should see "Validation failed: The title (article name) is already being used by another article, please use another title.:"
83 83 And I am on Another Community1's homepage
84 84 And I follow "View profile"
85 85 When I go to Another Community1's sitemap
... ... @@ -110,9 +110,9 @@ Feature: publish article
110 110 And I am on Sample Community's control panel
111 111 And I follow "Tasks"
112 112 And I press "Ok!"
113   - And I should not see "Validation failed: Slug (the code generated from the article name) is already being used by another article.:"
  113 + And I should not see "Validation failed: The title (article name) is already being used by another article, please use another title.:"
114 114 When I press "Ok!"
115   - Then I should see "Validation failed: Slug (the code generated from the article name) is already being used by another article."
  115 + Then I should see "Validation failed: The title (article name) is already being used by another article, please use another title."
116 116  
117 117 Scenario: ask to publish an article that was deleted before approval
118 118 Given I am logged in as "joaosilva"
... ...