Sha256: 3b05171f9d416ac73e864f2a6c7453700aa8543be479500c99899f1e219584e5
Contents?: true
Size: 1.55 KB
Versions: 2
Compression:
Stored size: 1.55 KB
Contents
Feature: Initialize a new Forge project Scenario: Creating a brand new project with all arguments Given a WordPress installation exists at "wordpress" When I successfully run `forge create foo --wp_dir=wordpress --name=foo_theme --uri=http://www.footheme.com --author="Foo Man" --author_uri=http://www.fooman.com` Then the forge skeleton should be created in directory "foo" And the file "foo/config.json" should contain: | "name": "foo_theme" | | "uri": "http://www.footheme.com" | | "author": "Foo Man" | | "author_uri": "http://www.fooman.com" | Scenario: Creating a new project without any arguments Given a WordPress installation exists at "wordpress" When I run `forge create foo` interactively And I type "wordpress" Then the forge skeleton should be created in directory "foo" And the file "foo/config.json" should contain: | "name": "foo" | Scenario: Creating a new project with all prompts Given a WordPress installation exists at "wordpress" When I run `forge create foo -i` interactively And I type "foo_theme" And I type "http://www.footheme.com" And I type "Foo Man" And I type "http://www.fooman.com" And I type "wordpress" Then the forge skeleton should be created in directory "foo" And the file "foo/config.json" should contain: | "name": "foo_theme" | | "uri": "http://www.footheme.com" | | "author": "Foo Man" | | "author_uri": "http://www.fooman.com" |
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
forge-0.0.2 | features/create.feature |
forge-0.0.1 | features/create.feature |