Skip to content

Commit

Permalink
Features passing
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Mar 8, 2012
1 parent 82c2e15 commit 10a71b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions features/discuss.feature
@@ -1,6 +1,6 @@
Feature: Discuss

Scenario: No parameters and nothing committed
Scenario: (Discuss) No parameters and nothing committed
Given a fresh set of repositories
When I cd to the user repo
And I execute gitcycle branch with a new URL or string
Expand All @@ -15,7 +15,7 @@ Scenario: No parameters and nothing committed
"""
And redis entries valid

Scenario: No parameters and something committed
Scenario: (Discuss) No parameters and something committed
Given a fresh set of repositories
When I cd to the user repo
And I execute gitcycle branch with a new URL or string
Expand Down
3 changes: 2 additions & 1 deletion features/steps/gitcycle_steps.rb
Expand Up @@ -327,7 +327,8 @@ def type(text)
'user' => config['user'],
'source' => collab ? 'some_branch' : 'master'
}
if @scenario_title == 'No parameters and something committed'
if @scenario_title.include?("(Discuss)") && @scenario_title.include?("something committed")
should['labels'] = 'Branch - master'
should['issue_url'] = $github_url
end
branch.should == should
Expand Down

0 comments on commit 10a71b2

Please sign in to comment.