openstreetmap-website/test/models
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
..
acl_test.rb Allow acls to match on parent domains 2021-07-06 10:13:33 +01:00
changeset_comment_test.rb Fix new rubocop warnings 2018-06-18 09:00:49 +01:00
changeset_tag_test.rb Skip intermediate lengths when testing tag validity 2021-06-16 09:53:57 +01:00
changeset_test.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-13 10:22:55 +00:00
client_application_test.rb Ensure that urls are only valid if the entire string is a url 2020-04-01 17:53:37 +02:00
diary_comment_test.rb Refactor diary entry tests to use User factory 2017-02-19 16:43:32 +00:00
diary_entry_test.rb Fix some ruby 3 compatibility issues 2021-04-22 19:20:25 +01:00
friend_test.rb Remove the api_fixtures helper 2017-06-01 10:59:48 +01:00
issue_comment_test.rb Made rubocop happy by formatting and minor syntax tweaks. 2016-08-22 17:24:10 +01:00
issue_test.rb Use factory_bot to build new model objects 2022-01-06 10:46:38 +00:00
language_test.rb Fix rubocop warnings 2017-10-05 19:18:38 +01:00
message_test.rb Use factory_bot to build new model objects 2022-01-06 10:46:38 +00:00
node_tag_test.rb Skip intermediate lengths when testing tag validity 2021-06-16 09:53:57 +01:00
node_test.rb Use factory_bot to build new model objects 2022-01-06 10:46:38 +00:00
note_comment_test.rb Fix new rubocop warnings 2018-06-18 09:00:49 +01:00
note_test.rb Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
oauth_nonce_test.rb Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
oauth_token_test.rb Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
old_node_tag_test.rb Skip intermediate lengths when testing tag validity 2021-06-16 09:53:57 +01:00
old_node_test.rb Move the xml format test for old nodes to the controller test 2021-09-15 17:05:34 +01:00
old_relation_tag_test.rb Skip intermediate lengths when testing tag validity 2021-06-16 09:53:57 +01:00
old_relation_test.rb Remove the api_fixtures helper 2017-06-01 10:59:48 +01:00
old_way_tag_test.rb Skip intermediate lengths when testing tag validity 2021-06-16 09:53:57 +01:00
old_way_test.rb Remove both Potlatch versions 2021-01-05 21:18:45 +00:00
redaction_test.rb Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
relation_member_test.rb Remove the api_fixtures helper 2017-06-01 10:59:48 +01:00
relation_tag_test.rb spelling: uniqueness 2021-07-21 10:45:38 -04:00
relation_test.rb Use factory_bot to build new model objects 2022-01-06 10:46:38 +00:00
report_test.rb Merge branch 'master' into next 2018-06-10 17:02:12 +01:00
request_token_test.rb Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
trace_test.rb Fix some ruby 3 compatibility issues 2021-04-22 19:20:25 +01:00
tracepoint_test.rb Move the tracepoint coordinate format test to the controller test 2021-09-29 15:25:28 +01:00
tracetag_test.rb Fix some ruby 3 compatibility issues 2021-04-22 19:20:25 +01:00
user_preference_test.rb Use factory_bot to build new model objects 2022-01-06 10:46:38 +00:00
user_test.rb Use a state machine for user status 2022-01-12 18:16:14 +00:00
user_token_test.rb Remove unused user_tokens fixture and pointless test. 2017-01-25 16:43:04 +00:00
way_node_test.rb Remove the api_fixtures helper 2017-06-01 10:59:48 +01:00
way_tag_test.rb Skip intermediate lengths when testing tag validity 2021-06-16 09:53:57 +01:00
way_test.rb Prefer keyword arguments when method has optional boolean arguments 2020-11-13 10:22:55 +00:00