mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
FEATURE: Add web manifest for Chrome users.
This commit is contained in:
12
spec/controllers/manifest_json_controller_spec.rb
Normal file
12
spec/controllers/manifest_json_controller_spec.rb
Normal file
@ -0,0 +1,12 @@
|
||||
require 'spec_helper'
|
||||
|
||||
RSpec.describe ManifestJsonController do
|
||||
context 'index' do
|
||||
it 'returns the right output' do
|
||||
title = 'MyApp'
|
||||
SiteSetting.title = title
|
||||
get :index
|
||||
expect(response.body).to include(title)
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user