woocommerce/tests/cli/features/customer_download.feature

26 lines
451 B
Gherkin
Raw Normal View History

2016-12-08 21:40:12 +00:00
Feature: List WooCommerce customer downloads
Background:
Given a WP install
Scenario: Help for all available commands
When I run `wp wc customer_download --help`
Then STDOUT should contain:
"""
wp wc customer_download <command>
"""
And STDOUT should contain:
"""
list
"""
Scenario: List a specific customer's downloads
When I run `wp wc customer_download list 1 --user=1`
Then STDOUT should contain:
"""
download_url
"""