mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 13:41:16 +08:00
Remove SearchObserver, aim is to remove all observers
rails-observers gem is mostly unmaintained and is a pain to carry forward new implementation contains significantly less magic as a bonus
This commit is contained in:
@ -1331,7 +1331,7 @@ describe UsersController do
|
||||
let(:user) { Fabricate :user, username: "joecabot", name: "Lawrence Tierney" }
|
||||
|
||||
before do
|
||||
ActiveRecord::Base.observers.enable :all
|
||||
SearchIndexer.enable
|
||||
Fabricate :post, user: user, topic: topic
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user