From 3ca1fdf5f1c65fc41478467ef3d473630bc7fb35 Mon Sep 17 00:00:00 2001 From: Francesco Laffi Date: Thu, 10 Oct 2013 22:52:14 +0200 Subject: [PATCH] stricter update package from cache test --- features/upgradables.feature | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/upgradables.feature b/features/upgradables.feature index 527160f6..830291fe 100644 --- a/features/upgradables.feature +++ b/features/upgradables.feature @@ -72,7 +72,9 @@ Feature: Manage WordPress themes and plugins """ When I run `wp update ` + And save STDOUT 'Downloading update from .*\/\.%s\.zip' as {NEW_VERSION} Then STDOUT should not be empty + And the {SUITE_CACHE_DIR}//-{NEW_VERSION}.zip file should exist When I run `wp update --all` Then STDOUT should not be empty @@ -104,7 +106,7 @@ Feature: Manage WordPress themes and plugins When I run `wp update ` Then STDOUT should contain: """ - Using cached file '{SUITE_CACHE_DIR}//- + Using cached file '{SUITE_CACHE_DIR}//-{NEW_VERSION}.zip'... """ When I run `wp delete ` -- 2.11.0