diff options
| author | Valery Sizov <valery@gitlab.com> | 2017-09-12 11:40:05 +0300 |
|---|---|---|
| committer | Valery Sizov <valery@gitlab.com> | 2017-09-12 11:42:51 +0300 |
| commit | 59e827db3bd497844e82911cb6c6d899453029f9 (patch) | |
| tree | dd32ee1275138d49dceeaecc6a5bf3c8ba75cea9 | |
| parent | 70e2304dd8f96b2239ac3a946f87f0b19a6209dc (diff) | |
| download | gitlab-ce-59e827db3bd497844e82911cb6c6d899453029f9.tar.gz | |
[rails 5][ci skip] Fix spec/finders/issues_finder_spec.rb
I removed the spec because we already check the confidentiality filtering above, plus
this spec won't work in rails 5 because of paranoia gem.
| -rw-r--r-- | spec/finders/issues_finder_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/finders/issues_finder_spec.rb b/spec/finders/issues_finder_spec.rb index 47b173dea0a..35e2f357923 100644 --- a/spec/finders/issues_finder_spec.rb +++ b/spec/finders/issues_finder_spec.rb @@ -436,12 +436,6 @@ describe IssuesFinder do expect(subject).to include(public_issue) expect(subject).not_to include(confidential_issue) end - - it 'filters by confidentiality' do - expect(Issue).to receive(:where).with(a_string_matching('confidential'), anything) - - subject - end end context 'for a guest user' do |
