a0b14c40dc
Notes call `#after_note_created` and `#after_note_destroyed` on their noteable in callbacks, so the noteable can perform tasks particular to them, like cache expiry. This is in preparation of the EE-specific class `DesignManagement::Design` clearing its `user_notes_count` cache when its note are created or destroyed. Refactoring Rspec behaviour testing of a counter caching service into a shared example. https://gitlab.com/gitlab-org/gitlab-ee/issues/13353 |
||
---|---|---|
.. | ||
activity_service_spec.rb | ||
build_service_spec.rb | ||
create_service_spec.rb | ||
destroy_service_spec.rb | ||
keys_count_service_spec.rb | ||
last_push_event_service_spec.rb | ||
migrate_to_ghost_user_service_spec.rb | ||
refresh_authorized_projects_service_spec.rb | ||
respond_to_terms_service_spec.rb | ||
set_status_service_spec.rb | ||
update_service_spec.rb |