openstreetmap-website/test/factories
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
..
access_tokens.rb Use CanCanCan for changeset comments 2018-11-28 12:35:45 +01:00
acls.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
changeset_comments.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
changeset_tags.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
changesets.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
client_applications.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
diary_comments.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
diary_entries.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
diary_entry_subscriptions.rb Fix new rubocop warnings 2021-01-11 19:17:31 +00:00
friendships.rb Rename Friend model to Friendship 2019-06-19 16:39:25 +02:00
issues.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
languages.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
messages.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
node.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
node_tags.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
note_comments.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
notes.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
oauth_access_grant.rb Add tests for OAuth2 2021-05-18 12:05:33 +01:00
oauth_access_token.rb Make /api/0.6/permissions work for OAuth 2 clients 2021-06-27 00:38:16 +01:00
oauth_applications.rb Introduce privileged scopes that only an administrator can enable 2021-08-26 17:22:24 +01:00
old_node.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
old_node_tags.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
old_relation.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
old_relation_member.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
old_relation_tags.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
old_way.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
old_way_node.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
old_way_tags.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
redaction.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
relation.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
relation_member.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
relation_tags.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
reports.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
tracepoints.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
traces.rb Copy trace fixture files, rather than symlinking 2020-03-18 15:35:55 +01:00
tracetags.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
user.rb Use a state machine for user status 2022-01-12 18:16:14 +00:00
user_blocks.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
user_preferences.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
user_role.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00
way.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
way_node.rb Fix FactoryBot deprecation warnings 2018-08-28 19:12:01 +01:00
way_tags.rb Replace factory_girl with factory_bot 2017-10-29 19:29:30 +00:00