mastodon/spec/services
Lex Alexander b8bae96647 Retoot count increases without reason (#5363)
* Retoot count increases without reason

-The store_uri method for Statuses was being called on after_create and causing reblogs to be incremented twice.
-This calls it when the transaction is finished by using after_create_commit.
-Fixes #4916.

* Added test case for after_create_commit callback for checking reblog count.

* Rewrote test to keep original, but added one for only the after_create_commit callback.
2017-10-13 02:52:09 +02:00
..
activitypub Set snowflake IDs for backdated statuses (#5260) 2017-10-08 17:34:34 +02:00
pubsubhubbub
account_search_service_spec.rb
after_block_service_spec.rb
authorize_follow_service_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
batched_remove_status_service_spec.rb Non-Serial ("Snowflake") IDs (#4801) 2017-10-04 09:56:37 +02:00
block_domain_from_account_service_spec.rb
block_domain_service_spec.rb
block_service_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
bootstrap_timeline_service_spec.rb
fan_out_on_write_service_spec.rb
favourite_service_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
fetch_atom_service_spec.rb
fetch_link_card_service_spec.rb
fetch_remote_account_service_spec.rb
fetch_remote_resource_service_spec.rb Fix regression in FetchRemoteResourceService (#5217) 2017-10-05 00:21:44 +02:00
fetch_remote_status_service_spec.rb
follow_service_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
mute_service_spec.rb
notify_service_spec.rb
post_status_service_spec.rb
precompute_feed_service_spec.rb Non-Serial ("Snowflake") IDs (#4801) 2017-10-04 09:56:37 +02:00
process_feed_service_spec.rb
process_interaction_service_spec.rb
process_mentions_service_spec.rb
reblog_service_spec.rb Retoot count increases without reason (#5363) 2017-10-13 02:52:09 +02:00
reject_follow_service_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
remove_status_service_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
resolve_remote_account_service_spec.rb
search_service_spec.rb
send_interaction_service_spec.rb
subscribe_service_spec.rb
suspend_account_service_spec.rb
unblock_domain_service_spec.rb
unblock_service_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
unfollow_service_spec.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
unmute_service_spec.rb
unsubscribe_service_spec.rb
update_remote_profile_service_spec.rb