2015-10-11 17:41:23 +08:00
|
|
|
require 'rails_helper'
|
2015-09-20 23:00:30 +08:00
|
|
|
|
|
|
|
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
|