This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Add test for health_check endpoint
closed-social-glitch-2
Thibaut Girka
4 years ago
committed by
ThibG
parent
2edf317efc
commit
0cbd6d696b
1 changed files
with
13 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-0
spec/controllers/health_check_controller_spec.rb
+ 13
- 0
spec/controllers/health_check_controller_spec.rb
View File
@ -0,0 +1,13 @@
require
'rails_helper'
describe
HealthCheck
::
HealthCheckController
do
render_views
describe
'GET #show'
do
subject
(
:response
)
{
get
:index
,
params
:
{
format
:
:json
}
}
it
'returns the right response'
do
expect
(
response
)
.
to
have_http_status
200
end
end
end
Write
Preview
Loading…
Cancel
Save