diff --git a/features/plugin-update.feature b/features/plugin-update.feature index 1cdc163df..5a1e31c9e 100644 --- a/features/plugin-update.feature +++ b/features/plugin-update.feature @@ -4,10 +4,16 @@ Feature: Update WordPress plugins Given a WP install When I run `wp plugin install wordpress-importer --version=0.5 --force` - Then STDOUT should not be empty + Then STDOUT should contain: + """ + Success: + """ When I run `wp plugin list --name=wordpress-importer --field=update_version` - Then STDOUT should not be empty + Then STDOUT should be: + """ + 1234 + """ And save STDOUT as {UPDATE_VERSION} When I run `wp plugin list`