summaryrefslogtreecommitdiff
path: root/spec/controllers/registrations_controller_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-17 15:09:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-17 15:09:24 +0000
commite14148b7edcfc4aff7ec966c399b3913318fb293 (patch)
tree31866782e6411c7ddc6b8b9f42ed66e700f6359b /spec/controllers/registrations_controller_spec.rb
parentc6283014fe69dc6699b00abedff607bd5c5718b0 (diff)
downloadgitlab-ce-e14148b7edcfc4aff7ec966c399b3913318fb293.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/registrations_controller_spec.rb')
-rw-r--r--spec/controllers/registrations_controller_spec.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/controllers/registrations_controller_spec.rb b/spec/controllers/registrations_controller_spec.rb
index 744f8ff153c..f80e18df22e 100644
--- a/spec/controllers/registrations_controller_spec.rb
+++ b/spec/controllers/registrations_controller_spec.rb
@@ -493,10 +493,6 @@ RSpec.describe RegistrationsController do
sign_in(create(:user))
end
- it 'sets flash message' do
- subject
-
- expect(flash[:notice]).to eq(I18n.t('devise.registrations.signed_up'))
- end
+ it { is_expected.to redirect_to(dashboard_projects_path)}
end
end