mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
UX: Replace Google search with Discourse search on not found page
* UX: Replace Google search with Discourse search on not found page. * FIX: Update application_controller_spec.rb.
This commit is contained in:
@ -68,7 +68,7 @@ RSpec.describe ApplicationController do
|
||||
it 'should return 404 and show Google search' do
|
||||
get "/t/nope-nope/99999999"
|
||||
expect(response.status).to eq(404)
|
||||
expect(response.body).to include(I18n.t('page_not_found.search_google'))
|
||||
expect(response.body).to include(I18n.t('page_not_found.search_button'))
|
||||
end
|
||||
|
||||
it 'should not include Google search if login_required is enabled' do
|
||||
|
Reference in New Issue
Block a user