Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thrijith committed Jan 8, 2018
1 parent 246a4c2 commit 01a7975
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions features/scaffold.feature
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Feature: WordPress code scaffolding
"""
And STDOUT should contain:
"""
'menu_icon' => 'dashicons-admin-post',
'menu_icon' => 'dashicons-admin-post',
"""

Scenario: CPT slug is too long
Expand All @@ -176,23 +176,23 @@ Feature: WordPress code scaffolding
When I run `wp scaffold post-type zombie --dashicon="art"`
Then STDOUT should contain:
"""
'menu_icon' => 'dashicons-art',
'menu_icon' => 'dashicons-art',
"""

Scenario: Scaffold a Custom Post Type with dashicon in the case of passing "dashicon-info"
Given a WP install
When I run `wp scaffold post-type zombie --dashicon="dashicon-info"`
Then STDOUT should contain:
"""
'menu_icon' => 'dashicons-info',
'menu_icon' => 'dashicons-info',
"""

Scenario: Scaffold a Custom Post Type with dashicon in the case of passing "dashicons-info"
Given a WP install
When I run `wp scaffold post-type zombie --dashicon="dashicons-info"`
Then STDOUT should contain:
"""
'menu_icon' => 'dashicons-info',
'menu_icon' => 'dashicons-info',
"""

Scenario: Scaffold a plugin
Expand Down

0 comments on commit 01a7975

Please sign in to comment.