summaryrefslogtreecommitdiff
path: root/spec/finders/branches_finder_spec.rb
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 19:00:43 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-19 19:30:10 +0100
commit1c39395964862ba5cad29119e7b5b8f528678f0a (patch)
tree0358e4e887427711743bfd794b4414a264aa2327 /spec/finders/branches_finder_spec.rb
parent3ec01e576e52bf4ef6638701854ad8d1395bf285 (diff)
downloadgitlab-ce-1c39395964862ba5cad29119e7b5b8f528678f0a.tar.gz
refactors the search to enable users to filter and sort branches at the
same time and writes tests accordingly changes schema.db removes duplicate field inside CHANGELOG fix db/schema
Diffstat (limited to 'spec/finders/branches_finder_spec.rb')
-rw-r--r--spec/finders/branches_finder_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/finders/branches_finder_spec.rb b/spec/finders/branches_finder_spec.rb
index e4281431280..9c9763d746b 100644
--- a/spec/finders/branches_finder_spec.rb
+++ b/spec/finders/branches_finder_spec.rb
@@ -17,6 +17,7 @@ describe BranchesFinder do
it 'sorts by recently_updated' do
branches_finder = described_class.new(repository, { sort: 'recently_updated' })
+
result = branches_finder.execute
expect(result.first.name).to eq('expand-collapse-lines')