From 94f5fe84823fc32f8d5c56abddbad3149f6e7035 Mon Sep 17 00:00:00 2001 From: Josh Betz Date: Mon, 12 Aug 2013 17:37:07 -0500 Subject: [PATCH] First pass at Behat test for `wp plugin is-installed ` --- features/plugin.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/plugin.feature b/features/plugin.feature index f4897976..5616bd63 100644 --- a/features/plugin.feature +++ b/features/plugin.feature @@ -29,6 +29,12 @@ Feature: Manage WordPress plugins Status: Active """ + When I run `wp plugin is-installed zombieland && echo "Zombieland"` + Then STDOUT should contain: + """ + Zombieland + """ + When I run `wp plugin status` Then STDOUT should not be empty -- 2.11.0