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:
Sam
2016-12-22 15:03:40 +11:00
parent 96c70c74a1
commit 2f6a4cc6de
22 changed files with 60 additions and 42 deletions

View File

@ -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 }