discourse/spec/controllers/manifest_json_controller_sp...

13 lines
258 B
Ruby

require 'rails_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