mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
remove UserActionObserver, replace with after_save and service
interestingly there was some left over dead code from when stars existed in the topic_users table
This commit is contained in:
@ -10,6 +10,7 @@ describe UserActionsController do
|
||||
|
||||
it 'renders list correctly' do
|
||||
ActiveRecord::Base.observers.enable :all
|
||||
UserActionCreator.enable
|
||||
post = Fabricate(:post)
|
||||
|
||||
xhr :get, :index, username: post.user.username
|
||||
|
Reference in New Issue
Block a user