diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-07 03:09:15 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-07 03:09:15 +0000 |
commit | 7ba5b9babaa5802c39e686c57cbf4a3f4725c4b0 (patch) | |
tree | 03a696c26f32e46faa46dd12d0a937d1d0d1cba4 /spec/features | |
parent | b56027c9d80ac0e297ba8a43c81e8504172dbf9f (diff) | |
download | gitlab-ce-7ba5b9babaa5802c39e686c57cbf4a3f4725c4b0.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/issues/spam_issues_spec.rb | 4 | ||||
-rw-r--r-- | spec/features/snippets/spam_snippets_spec.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/issues/spam_issues_spec.rb b/spec/features/issues/spam_issues_spec.rb index 18245f249fd..b59cd2d632a 100644 --- a/spec/features/issues/spam_issues_spec.rb +++ b/spec/features/issues/spam_issues_spec.rb @@ -23,7 +23,7 @@ describe 'New issue', :js do sign_in(user) end - context 'when identified as a spam' do + context 'when identified as spam' do before do WebMock.stub_request(:any, /.*akismet.com.*/).to_return(body: "true", status: 200) @@ -74,7 +74,7 @@ describe 'New issue', :js do end end - context 'when not identified as a spam' do + context 'when not identified as spam' do before do WebMock.stub_request(:any, /.*akismet.com.*/).to_return(body: 'false', status: 200) diff --git a/spec/features/snippets/spam_snippets_spec.rb b/spec/features/snippets/spam_snippets_spec.rb index efe1bdc963d..e9534dedcd3 100644 --- a/spec/features/snippets/spam_snippets_spec.rb +++ b/spec/features/snippets/spam_snippets_spec.rb @@ -52,7 +52,7 @@ shared_examples_for 'snippet editor' do end end - context 'when identified as a spam' do + context 'when identified as spam' do before do WebMock.stub_request(:any, /.*akismet.com.*/).to_return(body: "true", status: 200) end @@ -66,7 +66,7 @@ shared_examples_for 'snippet editor' do end end - context 'when not identified as a spam' do + context 'when not identified as spam' do before do WebMock.stub_request(:any, /.*akismet.com.*/).to_return(body: "false", status: 200) end |