mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
Not when doing a site-wide search like we do in the Directory. This solves the following specfailure: 1) DirectoryItemsController with data finds user by name Failure/Error: expect(json['directory_items'].length).to eq(1) expected: 1 got: 0 (compared using ==) # ./spec/requests/directory_items_controller_spec.rb:88:in `block (3 levels) in <main>' # ./spec/rails_helper.rb:271:in `block (2 levels) in <top (required)>' # ./bundle/ruby/2.7.0/gems/webmock-3.11.1/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'