Permalink
Browse files

Ready cucumber feature

  • Loading branch information...
1 parent a0ce4f5 commit 6bfe22e431d1d454437a7fd716e27964d699a8dd @winton committed Feb 20, 2012
Showing with 21 additions and 17 deletions.
  1. +0 −17 features/gitcycle.feature
  2. +21 −0 features/ready.feature
@@ -1,22 +1,5 @@
# Feature: gitcycle
-# Scenario: Ready issue
-# When I cd to the user repo
-# And I checkout ticket.id
-# And I execute gitcycle with "ready"
-# Then gitcycle runs
-# And output includes
-# """
-# Retrieving branch information from gitcycle.
-# Adding remote repo 'config.owner/config.repo'.
-# Fetching remote 'config.owner'.
-# Merging remote branch 'master' from 'config.owner/config.repo'.
-# Adding remote repo 'config.user/config.repo'.
-# Fetching remote 'config.user'.
-# Merging remote branch 'ticket.id' from 'config.user/config.repo'.
-# Labeling issue as 'Pending Review'.
-# """
-
# Scenario: Reviewed issue w/ no parameters
# When I cd to the user repo
# And I checkout ticket.id
@@ -0,0 +1,21 @@
+Feature: Ready
+
+Scenario: Ready issue
+ Given a fresh set of repositories
+ When I cd to the user repo
+ And I execute gitcycle branch with a new URL or string
+ And I give default input
+ And gitcycle runs
+ And I commit something
+ And I execute gitcycle with "ready"
+ And gitcycle runs
+ Then output includes
+ """
+ Retrieving branch information from gitcycle.
+ Merging remote branch 'master' from 'config.owner/config.repo'.
+ Adding remote repo 'config.user/config.repo'.
+ Fetching remote 'config.user'.
+ Merging remote branch 'ticket.id' from 'config.user/config.repo'.
+ Creating GitHub pull request.
+ Labeling issue as 'Pending Review'.
+ """

0 comments on commit 6bfe22e

Please sign in to comment.