discourse/spec/controllers/manifest_json_controller_spec.rb
2015-09-21 10:34:03 +08:00

12 lines
257 B
Ruby

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