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