mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #3794 from tgxworld/add_web_manifes
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