2017-09-10 17:25:29 +05:30
|
|
|
require 'spec_helper'
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
describe Admin::HealthCheckController do
|
2017-09-10 17:25:29 +05:30
|
|
|
let(:admin) { create(:admin) }
|
|
|
|
|
|
|
|
before do
|
|
|
|
sign_in(admin)
|
|
|
|
end
|
|
|
|
|
|
|
|
describe 'GET show' do
|
2018-12-13 13:39:08 +05:30
|
|
|
it 'loads the health information' do
|
2017-09-10 17:25:29 +05:30
|
|
|
get :show
|
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
expect(assigns[:errors]).not_to be_nil
|
2017-09-10 17:25:29 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|