diff options
author | Valery Sizov <valery@gitlab.com> | 2016-09-06 10:12:55 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-09-06 10:12:55 +0300 |
commit | 03bed0fbd31b2edc9702ba690bae8c5fc53eb5e5 (patch) | |
tree | 128682cd19a6810b31ded67e7511ba7e54dc907f /spec/lib/gitlab/snippet_search_results_spec.rb | |
parent | ad599eb65c8ce483a7faaffe226ec7ce53da0f55 (diff) |
Clean up search result classes
Diffstat (limited to 'spec/lib/gitlab/snippet_search_results_spec.rb')
-rw-r--r-- | spec/lib/gitlab/snippet_search_results_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/lib/gitlab/snippet_search_results_spec.rb b/spec/lib/gitlab/snippet_search_results_spec.rb index e86b9ef6a63..b661a894c0c 100644 --- a/spec/lib/gitlab/snippet_search_results_spec.rb +++ b/spec/lib/gitlab/snippet_search_results_spec.rb @@ -5,12 +5,6 @@ describe Gitlab::SnippetSearchResults do let(:results) { described_class.new(Snippet.all, 'foo') } - describe '#total_count' do - it 'returns the total amount of search hits' do - expect(results.total_count).to eq(2) - end - end - describe '#snippet_titles_count' do it 'returns the amount of matched snippet titles' do expect(results.snippet_titles_count).to eq(1) |