mastodon/spec/fabricators
Eugen Rochko 230a012f00
Add polls (#10111)
* Add polls

Fix #1629

* Add tests

* Fixes

* Change API for creating polls

* Use name instead of content for votes

* Remove poll validation for remote polls

* Add polls to public pages

* When updating the poll, update options just in case they were changed

* Fix public pages showing both poll and other media
2019-03-03 22:18:23 +01:00
..
access_token_fabricator.rb Introduce access token fabricators (#4401) 2017-07-27 15:16:07 +02:00
accessible_access_token_fabricator.rb Introduce access token fabricators (#4401) 2017-07-27 15:16:07 +02:00
account_domain_block_fabricator.rb
account_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
account_moderation_note_fabricator.rb Add moderation note (#5240) 2017-10-07 20:26:43 +02:00
account_pin_fabricator.rb Public profile endorsements (accounts picked by profile owner) (#8146) 2018-08-09 09:56:53 +02:00
account_stat_fabricator.rb Extract counters from accounts table to account_stats table (#9295) 2018-11-19 00:43:52 +01:00
account_tag_stat_fabricator.rb Add profile directory (#9427) 2018-12-06 17:36:11 +01:00
account_warning_fabricator.rb Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
account_warning_preset_fabricator.rb Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
admin_action_log_fabricator.rb Add logging of admin actions (#5757) 2017-11-24 02:05:53 +01:00
application_fabricator.rb
backup_fabricator.rb Account archive download (#6460) 2018-02-21 23:21:32 +01:00
block_fabricator.rb
conversation_account_fabricator.rb Add conversations API (#8832) 2018-10-07 23:44:58 +02:00
conversation_fabricator.rb
conversation_mute_fabricator.rb
custom_emoji_fabricator.rb Custom emoji (#4988) 2017-09-19 02:42:40 +02:00
custom_filter_fabricator.rb Keyword/phrase filtering (#7905) 2018-06-29 15:34:36 +02:00
domain_block_fabricator.rb Cover Admin::DomainBlocksController more (#3329) 2017-06-25 21:42:36 +02:00
email_domain_block_fabricator.rb Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
favourite_fabricator.rb
featured_tag_fabricator.rb Add featured hashtags to profiles (#9755) 2019-02-04 04:25:59 +01:00
follow_fabricator.rb
follow_request_fabricator.rb
identity_fabricator.rb CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
import_fabricator.rb
invite_fabricator.rb Add consumable invites (#5814) 2017-11-27 16:07:59 +01:00
list_account_fabricator.rb Lists (#5703) 2017-11-18 00:16:48 +01:00
list_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
media_attachment_fabricator.rb Update fabricator for MediaAttachment to attach a file according to type (#3862) 2017-06-20 20:40:45 +02:00
mention_fabricator.rb
mute_fabricator.rb
notification_fabricator.rb Change columns in notifications nonnullable (#6764) 2018-03-24 12:51:28 +01:00
poll_fabricator.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
poll_vote_fabricator.rb Add polls (#10111) 2019-03-03 22:18:23 +01:00
relay_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
report_fabricator.rb
report_note_fabricator.rb Add tests for report notes controller (#7589) 2018-05-22 14:45:10 +02:00
scheduled_status_fabricator.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
session_activation_fabricator.rb Add tests for SessionActivation (#5668) 2017-11-13 09:54:48 +09:00
setting_fabricator.rb Add tests for Setting (#5683) 2017-11-14 11:08:04 +09:00
site_upload_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
status_fabricator.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
status_pin_fabricator.rb Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
status_stat_fabricator.rb Move status counters to separate table, count replies (#8104) 2018-08-14 19:19:32 +02:00
stream_entry_fabricator.rb
subscription_fabricator.rb
tag_fabricator.rb
user_fabricator.rb Add REST API for creating an account (#9572) 2018-12-24 19:12:38 +01:00
web_push_subscription_fabricator.rb Ensure push subscription is immediately removed when application is revoked (#7548) 2018-05-19 21:05:08 +02:00
web_setting_fabricator.rb Ensure push subscription is immediately removed when application is revoked (#7548) 2018-05-19 21:05:08 +02:00