diff options
| author | Robert Speicher <robert@gitlab.com> | 2017-08-29 16:23:02 +0000 |
|---|---|---|
| committer | Robert Speicher <robert@gitlab.com> | 2017-08-29 16:23:02 +0000 |
| commit | 172cb70d4c427163895ec1792bd955f85748842d (patch) | |
| tree | 3f72e17f3beeac3547cbbbf28bfd0d1cda272e33 /spec/requests/api/project_snippets_spec.rb | |
| parent | 8e60636984d9f559f7e3cceee04be599b0df583f (diff) | |
| parent | 380dff622f83e199a08f37692395bfe3a3e5b437 (diff) | |
| download | gitlab-ce-172cb70d4c427163895ec1792bd955f85748842d.tar.gz | |
Merge branch '35793_fix_predicate_names' into 'master'
Remove `is_` prefix from predicate method names
See merge request !13810
Diffstat (limited to 'spec/requests/api/project_snippets_spec.rb')
| -rw-r--r-- | spec/requests/api/project_snippets_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/project_snippets_spec.rb b/spec/requests/api/project_snippets_spec.rb index 2b541f5719e..b64d8b1bb63 100644 --- a/spec/requests/api/project_snippets_spec.rb +++ b/spec/requests/api/project_snippets_spec.rb @@ -117,7 +117,7 @@ describe API::ProjectSnippets do end before do - allow_any_instance_of(AkismetService).to receive(:is_spam?).and_return(true) + allow_any_instance_of(AkismetService).to receive(:spam?).and_return(true) end context 'when the snippet is private' do @@ -179,7 +179,7 @@ describe API::ProjectSnippets do end before do - allow_any_instance_of(AkismetService).to receive(:is_spam?).and_return(true) + allow_any_instance_of(AkismetService).to receive(:spam?).and_return(true) end context 'when the snippet is private' do |
