This website requires JavaScript.
Explore
Help
Register
Sign In
treehouse
/
mastodon
Watch
22
Star
8
Fork
You've already forked mastodon
5
Code
Issues
32
Pull Requests
Projects
1
Releases
Wiki
Activity
6c5a2233a8
mastodon
/
spec
/
fabricators
/
conversation_fabricator.rb
5 lines
64 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable Style/FrozenStringLiteralComment for specs (#23790)
2023-02-22 00:55:31 +00:00
# frozen_string_literal: true
Add conversation model, <ostatus:conversation /> (#3016) * Add <ostatus:conversation /> tag to Atom input/output Only uses ref attribute (not href) because href would be the alternate link that's always included also. Creates new conversation for every non-reply status. Carries over conversation for every reply. Keeps remote URIs verbatim, generates local URIs on the fly like the rest of them. * Fix conversation migration * More spec coverage for status before_create * Prevent n+1 query when generating Atom with the new conversations * Improve code style * Remove redundant local variable
2017-05-12 17:09:21 +00:00
Fabricator
(
:conversation
)
do
end