mastodon/spec/models
Francis Chong 193dddb433 Add media dimensions (#2448)
* Fixes #1985

- add migration AddMediaAttachmentMeta, which add meta field to media_attachments
- before saving attachment, set file meta if needed
- add meta in api

* add spec

* align the “size” format for image and video

* fix code climate

* fixes media_attachment_spec.rb
2017-04-26 03:48:12 +02:00
..
web
account_filter_spec.rb Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00
account_spec.rb Instances list in admin (#2095) 2017-04-18 21:09:07 +02:00
block_spec.rb add more tests to models 2017-04-05 00:29:56 +02:00
domain_block_spec.rb add more tests to models 2017-04-05 00:29:56 +02:00
export_spec.rb Fix csv export coverage in export spec (#1691) 2017-04-13 15:29:30 +02:00
favourite_spec.rb Stop trying to shoehorn all Salmon updates into the poor database-connected 2017-02-12 01:19:14 +01:00
feed_spec.rb
follow_request_spec.rb add more tests to models 2017-04-05 00:29:56 +02:00
follow_spec.rb add more tests to models 2017-04-05 00:29:56 +02:00
import_spec.rb Import feature for following/blocking lists (addresses #62, #177, #201, #454) 2017-03-30 19:42:33 +02:00
media_attachment_spec.rb Add media dimensions (#2448) 2017-04-26 03:48:12 +02:00
mention_spec.rb add more tests to models 2017-04-05 00:29:56 +02:00
mute_spec.rb Mute button progress so far. WIP, doesn't entirely work correctly. 2017-03-01 22:31:21 -06:00
notification_spec.rb
preview_card_spec.rb
report_filter_spec.rb Admin reports with accounts (#2092) 2017-04-18 19:36:18 +02:00
report_spec.rb Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
status_spec.rb Add more FeedManager#filter? tests (#2413) 2017-04-24 22:37:24 +02:00
stream_entry_spec.rb Stop trying to shoehorn all Salmon updates into the poor database-connected 2017-02-12 01:19:14 +01:00
subscription_spec.rb
tag_spec.rb Search cleanup (#1333) 2017-04-09 14:45:01 +02:00
user_spec.rb Stricter whitelist rules (#2213) 2017-04-26 01:22:51 +02:00