Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Features passing

  • Loading branch information...
commit 10a71b2180ecdb4af2da4eed1dbc93d0ff4c63b6 1 parent 82c2e15
@winton authored
Showing with 4 additions and 3 deletions.
  1. +2 −2 features/discuss.feature
  2. +2 −1  features/steps/gitcycle_steps.rb
View
4 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
@@ -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
View
3  features/steps/gitcycle_steps.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.