mastodon/spec/fabricators
slice 85973f4f37 Improvements to image upload validation and creation (#10431)
* Check if image value is nil? before creating an image

Check if uploaded images aren't nil before creating SiteUpload models
for them.

* Validate presence of file in SiteUpload

* Fix file presence validation

* Fabricate SiteUpload#file

* Add link to Creative Commons license
2019-04-01 07:30:46 +02:00
..
assets
access_token_fabricator.rb Introduce access token fabricators (#4401) 2017-07-27 15:16:07 +02:00
accessible_access_token_fabricator.rb
account_domain_block_fabricator.rb
account_fabricator.rb
account_identity_proof_fabricator.rb Add Keybase integration (#10297) 2019-03-18 21:00:55 +01:00
account_moderation_note_fabricator.rb Add moderation note (#5240) 2017-10-07 20:26:43 +02:00
account_pin_fabricator.rb
account_stat_fabricator.rb
account_tag_stat_fabricator.rb Add profile directory (#9427) 2018-12-06 17:36:11 +01:00
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 Add conversations API (#8832) 2018-10-07 23:44:58 +02:00
conversation_fabricator.rb
conversation_mute_fabricator.rb Feature conversations muting (#3017) 2017-05-15 03:04:13 +02:00
custom_emoji_fabricator.rb
custom_filter_fabricator.rb
domain_block_fabricator.rb
email_domain_block_fabricator.rb
favourite_fabricator.rb
featured_tag_fabricator.rb Add featured hashtags to profiles (#9755) 2019-02-04 04:25:59 +01:00
follow_fabricator.rb add more tests to models 2017-04-05 00:29:56 +02:00
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
list_account_fabricator.rb
list_fabricator.rb Lint pass (#8876) 2018-10-04 12:36:53 +02:00
media_attachment_fabricator.rb
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
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
scheduled_status_fabricator.rb Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
session_activation_fabricator.rb
setting_fabricator.rb
site_upload_fabricator.rb
status_fabricator.rb
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
tag_fabricator.rb
user_fabricator.rb
web_push_subscription_fabricator.rb
web_setting_fabricator.rb