From 2a162669c958675b3163b61f609edb6a33fd32e1 Mon Sep 17 00:00:00 2001 From: scribu Date: Wed, 27 Feb 2013 20:39:24 +0200 Subject: [PATCH] use `wp core version` instead of `wp post list` to check if the install was successful. --- features/core.feature | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/features/core.feature b/features/core.feature index ea5910fa..fe5dbd39 100644 --- a/features/core.feature +++ b/features/core.feature @@ -59,11 +59,9 @@ Feature: Manage WordPress installation When I run `wp core install` Then the return code should be 0 - When I run `wp post list --ids` - Then STDOUT should be: - """ - 1 - """ + When I run `wp core version` + Then it should run without errors + And STDOUT should not be empty Scenario: Full install Given WP install -- 2.11.0