Commit d2032b02fbbd9538fcb0aad4f301abce360df1f4
Exists in
colab
and in
4 other branches
Merge pull request #170 from mezuro/nocov
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 | ... | ... |