Skip to content

Commit

Permalink
Using back ticks in aruba steps as quotes are deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
zdennis committed Mar 30, 2012
1 parent 62d9108 commit 9676ea8
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion features/bug.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Feature: git bug
Given I have a Pivotal Tracker bug

Scenario: Verifying created branch
When I run "git-bug -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815 -D"
When I run `git-bug -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815 -D`
Then the output should contain "Switched to a new branch '5799841-bugfix'"
And I should be on the "5799841-bugfix" branch
4 changes: 2 additions & 2 deletions features/chore.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Feature: git chore
Given I have a Pivotal Tracker chore

Scenario: Executing with inline options
When I run "git-chore -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815 -D"
When I run `git-chore -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815 -D`
Then the output should contain "Switched to a new branch '5799841-chore'"
And I should be on the "5799841-chore" branch

Expand All @@ -17,6 +17,6 @@ Feature: git chore
integration-branch = develop
project-id = 52815
"""
When I run "git-chore -D"
When I run `git-chore -D`
Then the output should contain "Switched to a new branch '5799841-chore'"
And I should be on the "5799841-chore" branch
6 changes: 3 additions & 3 deletions features/feature.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ Feature: git feature
Given I have a Pivotal Tracker feature

Scenario: Executing with no settings
When I run "git-feature"
When I run `git-feature`
Then the output should contain:
"""
Pivotal Tracker API Token and Project ID are required
"""
And the exit status should be 1

Scenario: Executing with inline options
When I run "git-feature -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815 -D"
When I run `git-feature -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815 -D`
Then the output should contain:
"""
Retrieving latest features from Pivotal Tracker...
Expand All @@ -32,6 +32,6 @@ Feature: git feature
integration-branch = develop
project-id = 52815
"""
When I run "git-feature -D"
When I run `git-feature -D`
Then the output should contain "Switched to a new branch '5799841-feature'"
And I should be on the "5799841-feature" branch
12 changes: 6 additions & 6 deletions features/finish.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ Feature: git finish
And I am on the "5799841-feature" branch

Scenario: Executing with no settings
When I run "git-finish"
When I run `git-finish`
Then the output should contain:
"""
Pivotal Tracker API Token and Project ID are required
"""
And the exit status should be 1

Scenario: Excuting with inline settings
When I run "git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815"
When I run `git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815`
Then the output should contain:
"""
Marking Story 5799841 as finished...
Expand All @@ -30,7 +30,7 @@ Feature: git finish
full-name = Jeff Tucker
project-id = 52815
"""
When I run "git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815"
When I run `git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815`
Then the output should contain:
"""
Marking Story 5799841 as finished...
Expand All @@ -41,7 +41,7 @@ Feature: git finish

Scenario: Executing from a misnamed branch
Given I am on the "missing-an-id" branch
When I run "git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815"
When I run `git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815`
Then the output should contain:
"""
Branch name must contain a Pivotal Tracker story id
Expand All @@ -58,7 +58,7 @@ Feature: git finish
integration-branch = develop
project-id = 52815
"""
When I run "git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815"
When I run `git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815`
Then the output should contain:
"""
Marking Story 5799841 as finished...
Expand All @@ -77,7 +77,7 @@ Feature: git finish
full-name = Jeff Tucker
project-id = 52815
"""
When I run "git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815"
When I run `git-finish -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815`
Then the output should contain:
"""
Marking Story 5799841 as finished...
Expand Down
6 changes: 3 additions & 3 deletions features/info.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ Feature: git info
And I am on the "5799841-feature" branch

Scenario: Executing with no settings
When I run "git-info"
When I run `git-info`
Then the output should contain:
"""
Pivotal Tracker API Token and Project ID are required
"""
And the exit status should be 1

Scenario: Executing with inline options
When I run "git-info -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815 -D"
When I run `git-info -k 10bfe281783e2bdc2d6592c0ea21e8d5 -p 52815 -D`
Then the output should contain:
"""
Story: Test Story
Expand All @@ -30,7 +30,7 @@ Feature: git info
integration-branch = develop
project-id = 52815
"""
When I run "git-info"
When I run `git-info`
Then the output should contain:
"""
Story: Test Story
Expand Down
2 changes: 1 addition & 1 deletion features/pick.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feature: General Git Pivotal story-picking features

Scenario: Giving better error messaging
Given the feature is unestimated
When I run "git-feature -D"
When I run `git-feature -D`
Then the output should contain:
"""
Stories in the started state must be estimated.
Expand Down

0 comments on commit 9676ea8

Please sign in to comment.