提交 93374066 编写于 作者: Z Zeger-Jan van de Weg

Fix specs

Spinach was right, I was a fool..
上级 481e73fb
......@@ -98,6 +98,7 @@ class Issue < ActiveRecord::Base
end
def related_branches
return [] if self.project.empty_repo?
self.project.repository.branch_names.select do |branch|
branch =~ /\A#{iid}-(?!\d+-stable)/i
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册