Commit 1068e9fadd0807b4f95ca33b868f69bbe9c202ee
1 parent
3b4dcfd2
Exists in
colab
and in
4 other branches
Ignoring in the coverage report lines that will never get covered
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/controllers/application_controller.rb
| ... | ... | @@ -12,8 +12,10 @@ class ApplicationController < ActionController::Base |
| 12 | 12 | # We don't have how too test this unless we have the Devise controllers. |
| 13 | 13 | # Since creating the controllers looks wronger than not testing this two |
| 14 | 14 | # lines. I think we can live without 100% of coverage |
| 15 | + # :nocov: | |
| 15 | 16 | def configure_permitted_parameters |
| 16 | 17 | devise_parameter_sanitizer.for(:sign_up) << :name |
| 17 | 18 | devise_parameter_sanitizer.for(:account_update) << :name |
| 18 | 19 | end |
| 20 | + # :nocov: | |
| 19 | 21 | end | ... | ... |