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
accessible_access_token_fabricator.rb
account_domain_block_fabricator.rb
account_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
account_moderation_note_fabricator.rb
account_pin_fabricator.rb
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
account_warning_fabricator.rb
account_warning_preset_fabricator.rb
admin_action_log_fabricator.rb
application_fabricator.rb
backup_fabricator.rb
block_fabricator.rb
conversation_account_fabricator.rb
conversation_fabricator.rb
conversation_mute_fabricator.rb
custom_emoji_fabricator.rb
custom_filter_fabricator.rb
domain_block_fabricator.rb
email_domain_block_fabricator.rb
favourite_fabricator.rb
featured_tag_fabricator.rb
follow_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
follow_request_fabricator.rb
identity_fabricator.rb
import_fabricator.rb
invite_fabricator.rb
list_account_fabricator.rb
list_fabricator.rb
media_attachment_fabricator.rb
mention_fabricator.rb
mute_fabricator.rb
notification_fabricator.rb
poll_fabricator.rb
poll_vote_fabricator.rb
relay_fabricator.rb
report_fabricator.rb
report_note_fabricator.rb
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
site_upload_fabricator.rb
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
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 Spec coverage and refactor for pubsub/delivery worker (#3021) 2017-05-12 20:35:36 +02:00
tag_fabricator.rb
user_fabricator.rb
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