openstreetmap-website/test/controllers
Andy Allan 1a11c4dc19 Use a state machine for user status
The user status is a bit complex, since there are various states and
not all transitions between them make sense.

Using AASM means that we can name and restrict the transitions, which
hopefully makes them easier to reason about.
2022-01-12 18:16:14 +00:00
..
api Replace to_s on TimeWithZone objects with to_formatted_s 2022-01-10 18:59:22 +00:00
accounts_controller_test.rb Test redirect from settings page to OmniAuth 2021-12-29 18:29:38 +00:00
browse_controller_test.rb Use a state machine for user status 2022-01-12 18:16:14 +00:00
changeset_comments_controller_test.rb Refactor some more controller tests 2020-04-22 16:45:16 +02:00
changesets_controller_test.rb Use login_path instead of explicit controller and actions 2021-03-10 14:31:55 +00:00
confirmations_controller_test.rb Use a state machine for user status 2022-01-12 18:16:14 +00:00
dashboards_controller_test.rb Remove the contact-activity class 2021-11-03 18:35:42 +00:00
diary_entries_controller_test.rb Simplify margins when showing diary entries 2021-11-24 12:24:16 +00:00
directions_controller_test.rb Refactor some more controller tests 2020-04-22 16:45:16 +02:00
errors_controller_test.rb Refactor some more controller tests 2020-04-22 16:45:16 +02:00
export_controller_test.rb Refactor more controller tests 2020-04-26 20:33:06 +01:00
friendships_controller_test.rb spelling: unknown 2021-07-21 10:45:38 -04:00
geocoder_controller_test.rb Fix new rubocop warnings 2021-01-11 19:17:31 +00:00
issue_comments_controller_test.rb Refactor more controller tests 2020-04-26 20:33:06 +01:00
issues_controller_test.rb Refactor more controller tests 2020-04-26 20:33:06 +01:00
messages_controller_test.rb Refactor more controller tests 2020-04-26 20:33:06 +01:00
notes_controller_test.rb Display no notes message when empty 2021-04-09 19:21:09 +01:00
oauth2_applications_controller_test.rb Check that use of privileged scopes is restricted to administrators 2021-08-26 17:22:25 +01:00
oauth2_authorizations_controller_test.rb Add tests for OAuth2 2021-05-18 12:05:33 +01:00
oauth2_authorized_applications_controller_test.rb Add tests for OAuth2 2021-05-18 12:05:33 +01:00
oauth_clients_controller_test.rb Refactor more controller tests 2020-04-26 22:56:18 +01:00
oauth_controller_test.rb Refactor more controller tests 2020-04-26 22:56:18 +01:00
passwords_controller_test.rb Split password reset functionality into PasswordsController 2021-04-07 16:05:28 +01:00
preferences_controller_test.rb Split user preferences into a separate page 2021-07-14 17:40:20 +01:00
profiles_controller_test.rb Move profile-related settings to their own form 2021-07-14 17:45:19 +01:00
redactions_controller_test.rb Refactor more controller tests 2020-04-26 22:56:18 +01:00
reports_controller_test.rb Refactor more controller tests 2020-04-26 22:56:18 +01:00
sessions_controller_test.rb Move sessions-related tests out of UsersControllerTest 2021-03-24 11:40:17 +00:00
site_controller_test.rb Use login_path instead of explicit controller and actions 2021-03-10 14:31:55 +00:00
traces_controller_test.rb Fix various code comments 2021-07-21 11:24:23 +01:00
user_blocks_controller_test.rb Prevent CSRF bypass unblocking users 2021-02-09 20:39:04 +00:00
user_roles_controller_test.rb Refactor more controller tests 2020-04-27 22:24:28 +01:00
users_controller_test.rb Use a state machine for user status 2022-01-12 18:16:14 +00:00