diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 19:00:43 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-19 19:30:10 +0100 |
commit | 1c39395964862ba5cad29119e7b5b8f528678f0a (patch) | |
tree | 0358e4e887427711743bfd794b4414a264aa2327 /spec/finders | |
parent | 3ec01e576e52bf4ef6638701854ad8d1395bf285 (diff) | |
download | gitlab-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')
-rw-r--r-- | spec/finders/branches_finder_spec.rb | 1 |
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') |