summaryrefslogtreecommitdiff
path: root/spec/controllers/registrations_controller_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Add :registrations_recaptcha feature flagLuke Bennett2019-05-161-2/+17
| | | | | | | Allows instance owners to toggle the recaptcha requirement on the user registration page by feature flag. Allows GitLab Growth team to measure reCAPTCHA's impact on registrations.
* Add some frozen string to spec/**/*.rbgfyoung2019-04-151-0/+2
| | | | | | | | | | Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Introduce ApplicationSettingImplementation yayLin Jen-Shin2019-03-191-3/+3
| | | | | | | So the fake can enjoy it, too. We don't use `prepend` because that'll require we change `allow_any_instance_of` to `expect_next_instance_of`, but that's not very easy to do. We can do that later.
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-191-11/+11
| | | | | | | | | | Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
* Fix typos in libGeorge Tsiolis2018-11-151-1/+1
|
* Users can accept terms during registrationBob Van Landuyt2018-06-081-0/+21
| | | | | | | | | | When a user checks the `accept` checkbox, we will track that acceptance as usual. That way they don't need to accept again after they complete the registration. When an unauthenticated user visits the `/-/users/terms` page, there is no button to accept, decline or continue. The 'current-user menu' is also hidden from the top bar.
* Allow password authentication to be disabled entirelyMarkus Koller2017-11-231-1/+2
|
* Show confirmation modal before deleting accountWinnie Hellmann2017-10-061-4/+60
|
* Enable the RSpec/HookArgument cop and auto-correct offensesRobert Speicher2017-08-101-1/+1
|
* Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-copRémy Coutable2017-08-091-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Refactor the DeleteUserWorkerNick Thomas2017-06-051-1/+1
|
* Delete users asynchronouslysh-fix-destroy-user-raceStan Hu2017-04-021-0/+16
|
* Implement new service for creating userGeorge Andrinopoulos2017-03-271-0/+9
|
* Use reCaptcha when an issue identified as spamJarka Kadlecova2017-02-071-1/+1
|
* Properly handle failed reCAPTCHA on user registrationDrew Blessing2017-01-031-15/+45
| | | | | | | | If a user presses the 'Register' button too quickly after attempting to solve the reCAPTCHA, or the reCAPTCHA is not solved at all, the user would experience a 500 error. Now, the case is properly handled and the user will be sent back to the registration page with a clear error message and can try again.
* Assert against `ActionMailer::Base.deliveries` relatively.Timothy Andrew2016-07-051-2/+1
| | | | | | | | - Look for a `change` in its size rather than asserting against an actual size. - This previously failed because another spec had an email in `ActionMailer::Base.deliveries`, which failed this `be_nil` assertion.
* Update tests for the current_application_settings request store changesDJ Mountney2016-05-271-2/+2
|
* Enable RSpec/NotToNot cop and auto-correct offensesrs-rubocop-nottonotRobert Speicher2016-05-241-1/+1
| | | | Also removes the note from the development/testing.md guide
* Change landing page when skipping confirmation email and add documentationFelipe Artur2016-05-161-1/+1
|
* Change skip_user_confirmation_email to send_user_confirmation_emailFelipe Artur2016-05-161-6/+6
|
* Toggle email signup confirmation in admin settingsFelipe Artur2016-05-161-0/+33