mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +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:
@ -4,6 +4,7 @@ describe UserAction do
|
||||
|
||||
before do
|
||||
ActiveRecord::Base.observers.enable :all
|
||||
UserActionCreator.enable
|
||||
end
|
||||
|
||||
it { is_expected.to validate_presence_of :action_type }
|
||||
|
Reference in New Issue
Block a user