From 1068e9fadd0807b4f95ca33b868f69bbe9c202ee Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Thu, 11 Dec 2014 08:54:47 -0200 Subject: [PATCH] Ignoring in the coverage report lines that will never get covered --- app/controllers/application_controller.rb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 408c25c..f9322c9 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -12,8 +12,10 @@ class ApplicationController < ActionController::Base # We don't have how too test this unless we have the Devise controllers. # Since creating the controllers looks wronger than not testing this two # lines. I think we can live without 100% of coverage + # :nocov: def configure_permitted_parameters devise_parameter_sanitizer.for(:sign_up) << :name devise_parameter_sanitizer.for(:account_update) << :name end + # :nocov: end -- libgit2 0.21.2