Created
February 2, 2016 18:43
-
-
Save EngineeredEdge/5bdfd5f17cc23365c324 to your computer and use it in GitHub Desktop.
merge_articles setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Write Articles | |
As a blog administrator | |
In order to avoid multiple similar articles | |
I want to be able to merge two articles | |
Background: | |
Given the blog is set up | |
And I am logged into the admin panel | |
And the following articles exist | |
| id | title | body | | |
| 2 | Foobar | LoremIpsum | | |
| 3 | BobLob | lobs law bomb | | |
Scenario: Successfully merge articles | |
Given I am on the article page for "Foobar" | |
And I fill in "merge_with" with "3" | |
And I press "Merge" | |
Then the article "Foobar" should have body "LoremIpsum lobs law bomb" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment