forked from test_framework/pytest-bdd
Merge pull request #114 from curzona/patch-1
Fix Typo: 'And' should not be in the step name
This commit is contained in:
commit
94b90ef0d9
|
@ -93,7 +93,7 @@ test_publish_article.py:
|
||||||
browser.find_by_css('.message.error').first
|
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):
|
def article_is_published(article):
|
||||||
article.refresh() # Refresh the object in the SQLAlchemy session
|
article.refresh() # Refresh the object in the SQLAlchemy session
|
||||||
assert article.is_published
|
assert article.is_published
|
||||||
|
|
Loading…
Reference in New Issue