diff options
author | Rémy Coutable <remy@rymai.me> | 2018-02-21 15:32:23 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-02-21 15:32:23 +0000 |
commit | 062f487c1ea17f84fb9e022b574cc6ee0492d6b1 (patch) | |
tree | bd436a764c456024d1c777399bd028104de102af /spec | |
parent | 0922027877ea08b42b171f5ab2c4e35eabf4f734 (diff) | |
parent | c2fc40668c34215a7e727e60647114f1b178eb8c (diff) | |
download | gitlab-ce-062f487c1ea17f84fb9e022b574cc6ee0492d6b1.tar.gz |
Merge branch 'refactor-issuable-finder-to-use-inheritance' into 'master'
Refactor IssuableFinder to extract model-specific logic
See merge request gitlab-org/gitlab-ce!17236
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/concerns/issuable_collections_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/controllers/concerns/issuable_collections_spec.rb b/spec/controllers/concerns/issuable_collections_spec.rb index d7825364ed5..c1f42bbb9d7 100644 --- a/spec/controllers/concerns/issuable_collections_spec.rb +++ b/spec/controllers/concerns/issuable_collections_spec.rb @@ -8,6 +8,10 @@ describe IssuableCollections do def self.helper_method(name); end include IssuableCollections + + def finder_type + IssuesFinder + end end controller = klass.new |