summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-18 09:08:12 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-18 09:08:12 +0000
commit1b9a2ce27825c02cc14b594ed5ea061fccf1d957 (patch)
treebb6e75df11b25e5e0a9757d64dba2d0605d697f7 /spec/controllers
parent7e5f8d08817c5672a0fe2f36609897f20d7e120e (diff)
downloadgitlab-ce-1b9a2ce27825c02cc14b594ed5ea061fccf1d957.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/profiles/emails_controller_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/controllers/profiles/emails_controller_spec.rb b/spec/controllers/profiles/emails_controller_spec.rb
index 91850e429a5..ffec43fea2c 100644
--- a/spec/controllers/profiles/emails_controller_spec.rb
+++ b/spec/controllers/profiles/emails_controller_spec.rb
@@ -9,6 +9,12 @@ describe Profiles::EmailsController do
sign_in(user)
end
+ around do |example|
+ perform_enqueued_jobs do
+ example.run
+ end
+ end
+
describe '#create' do
context 'when email address is valid' do
let(:email_params) { { email: "add_email@example.com" } }