UndercoverCI / coverage
failed
Jan 23, 2024 in 33s
Complete
🚨 UndercoverCI has detected 1 warning in this changeset.
Details
Revision 8889f0b
has modified the following 2 code locations. Results marked with
file | name | coverage | branches |
---|---|---|---|
app/controllers/application_controller.rb | check_cookie |
0.0 | 0/2 |
app/controllers/application_controller.rb | class ApplicationController |
0.625 |
Annotations
Check warning on line 8 in app/controllers/application_controller.rb
undercoverci / coverage
Untested instance method
Instance method `check_cookie` is missing coverage for lines 3..4,7 (node coverage: 0.0).
Missing branch coverage found in line 3.
Raw output
2: def check_cookie hits: n/a
3: if params[:x] != ENV.fetch("CODE", "beta") hits: 0 branches: 0/2
4: redirect_to(bounce_home_index_url) and return hits: 0
5: end hits: n/a
6:
7: cookies[:beta_sign_in] = { value: 1, expires: 1.year } hits: 0
8: end hits: n/a
Loading