@@ -324,22 +324,22 @@ Feature: Generate a distribution archive of a project
324324 Scenario : Generates a ZIP archive for a theme with the version appended
325325 Given a WP install
326326
327- When I run `wp scaffold _s new-theme `
328- Then the wp-content/themes/new-theme directory should exist
327+ When I run `wp theme install twentytwelve --force --version=4.7 `
328+ Then the wp-content/themes/twentytwelve directory should exist
329329
330- # A newly scaffold theme triggers a warning for missing .distignore
331- When I try `wp dist-archive wp-content/themes/new-theme `
330+ # There is a warning for a missing .distignore file.
331+ When I try `wp dist-archive wp-content/themes/twentytwelve `
332332 Then STDOUT should contain:
333333 """
334- Success: Created new-theme.1.0.0 .zip
334+ Success: Created twentytwelve.4.7 .zip
335335 """
336- And the wp-content/themes/new-theme.1.0.0 .zip file should exist
336+ And the wp-content/themes/twentytwelve.4.7 .zip file should exist
337337
338- When I run `wp theme delete new-theme `
339- Then the wp-content/themes/new-theme directory should not exist
338+ When I run `wp theme delete twentytwelve `
339+ Then the wp-content/themes/twentytwelve directory should not exist
340340
341- When I run `wp theme install wp-content/themes/new-theme.1.0.0 .zip`
342- Then the wp-content/themes/new-theme directory should exist
341+ When I run `wp theme install wp-content/themes/twentytwelve.4.7 .zip`
342+ Then the wp-content/themes/twentytwelve directory should exist
343343
344344 Scenario : Generates a ZIP archive with a custom filename format
345345 Given a WP install
0 commit comments