diff --git a/spec/models/user_search_spec.rb b/spec/models/user_search_spec.rb index f004a04637d..4953a4e29aa 100644 --- a/spec/models/user_search_spec.rb +++ b/spec/models/user_search_spec.rb @@ -4,7 +4,7 @@ require 'rails_helper' describe UserSearch do - fab!(:indexer) { SearchIndexer.enable } # Enable before fab! topics/users + before_all { SearchIndexer.enable } # Enable for prefabrication before { SearchIndexer.enable } # Enable for each test fab!(:topic) { Fabricate :topic }