mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
15 lines
331 B
Ruby
15 lines
331 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe 'Api::V1::Healths', type: :request do
|
|
describe 'GET /index' do
|
|
context 'when user is not authenticated' do
|
|
it 'returns http success' do
|
|
get '/api/v1/health'
|
|
|
|
expect(response).to have_http_status(:success)
|
|
end
|
|
end
|
|
end
|
|
end
|