features/steps/gitcycle_steps.rb in gitcycle-0.2.16 vs features/steps/gitcycle_steps.rb in gitcycle-0.2.17
- old
+ new
@@ -325,10 +325,11 @@
'title' => $ticket.title,
'repo' => "#{config['owner']}:#{config['repo']}",
'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
end
\ No newline at end of file