From 78a461720ec98134a6bb300698b6590cee1aed96 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Wed, 8 May 2013 16:23:08 -0700 Subject: [PATCH] Update term.feature to make use of `--fields` argument --- features/term.feature | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/features/term.feature b/features/term.feature index 47a4219d..0c6af7e5 100644 --- a/features/term.feature +++ b/features/term.feature @@ -17,6 +17,14 @@ Feature: Manage WordPress terms [{"name":"Test term","slug":"test","description":"This is a test term","parent":"0","count":"0"}] """ + When I run `wp term list post_tag --fields=name,slug --format=csv` + Then it should run without errors + And STDOUT should be CSV containing: + """ + name,slug + "Test term",test + """ + Scenario: Creating/deleting a term Given a WP install -- 2.11.0