implements branches filter functionality and tests accordingly

refactors find_similar_branches method to a one liner
This commit is contained in:
tiagonbotelho 2016-07-07 17:19:21 +01:00
parent 766f9cf220
commit 3ec01e576e

View file

@ -127,7 +127,6 @@ class Repository
def find_similar_branches(search)
raw_repository.branches.select { |branch| branch.name.include?(search) }
end
def find_branch(name)