Skip to content

Commit 446f48d

Browse files
author
André Mommert
committed
Test added
1 parent a624f3d commit 446f48d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/meilisearch/client/health_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@
1111
it 'is unhealthy when the url is invalid' do
1212
expect(wrong_client.healthy?).to be false
1313
end
14+
15+
it 'returns the health information' do
16+
response = client.health
17+
expect(response).to be_a(Hash)
18+
expect(response).to have_key('status')
19+
end
1420
end

0 commit comments

Comments
 (0)