Merge pull request #114 from curzona/patch-1

Fix Typo: 'And' should not be in the step name
This commit is contained in:
Anatoly Bubenkov 2015-05-27 09:04:44 +02:00
commit 94b90ef0d9
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ test_publish_article.py:
browser.find_by_css('.message.error').first
@then('And the article should be published')
@then('the article should be published')
def article_is_published(article):
article.refresh() # Refresh the object in the SQLAlchemy session
assert article.is_published