Sha256: 21a2f0f79dcbd601041402409e182fb491524e2b5eb731cb81d55e492425c9ee

Contents?: true

Size: 328 Bytes

Versions: 6

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe 'Health Check endpoint', type: :request do
  context 'When it reaches the internal app_health' do
    before { get '/_ah/app_health' }

    it 'gets internal / that is mounted in /_ah/app_health' do
      expect(response.code).to eq('200')
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hey_doctor-1.3.1 spec/requests/health_check_spec.rb
hey_doctor-1.2.1 spec/requests/health_check_spec.rb
hey_doctor-1.2.0 spec/requests/health_check_spec.rb
hey_doctor-1.1.3.pre.rc2 spec/requests/health_check_spec.rb
hey_doctor-1.1.2 spec/requests/health_check_spec.rb
hey_doctor-1.1.1 spec/requests/health_check_spec.rb