From f300a82d757ae6ea5144a2a2a24c4509e4005439 Mon Sep 17 00:00:00 2001 From: Andy Adams Date: Wed, 12 Oct 2011 12:38:08 -0700 Subject: [PATCH] Removing old broken features --- features/create.feature | 34 ---------------------------------- features/link.feature | 14 -------------- 2 files changed, 48 deletions(-) delete mode 100644 features/create.feature delete mode 100644 features/link.feature diff --git a/features/create.feature b/features/create.feature deleted file mode 100644 index 2eff708..0000000 --- a/features/create.feature +++ /dev/null @@ -1,34 +0,0 @@ -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" | \ No newline at end of file diff --git a/features/link.feature b/features/link.feature deleted file mode 100644 index 2bfd547..0000000 --- a/features/link.feature +++ /dev/null @@ -1,14 +0,0 @@ -Feature: Symbolic link creation via the link command - - Scenario: Linking a project to a WordPress install - Given a WordPress installation exists at "wordpress" - And I am in a forge project named "awesome_theme" - When I successfully run `forge link ../wordpress` - Then a directory named "../wordpress/wp-content/themes/awesome_theme" should exist - - Scenario: Linking a project to a bogus directory - Given I am in a forge project named "awesome_theme" - When I run `forge link ../wordpress` - Then the exit status should be 1 - And the output should contain "Sorry, we couldn't find a wordpress installation" - And a directory named "../wordpress/wp-content/themes/awesome_theme" should not exist \ No newline at end of file