diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 2dfd4d8..408c25c 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -13,7 +13,7 @@ class ApplicationController < ActionController::Base # Since creating the controllers looks wronger than not testing this two # lines. I think we can live without 100% of coverage def configure_permitted_parameters - devise_parameter_sanitizer.for(:sign_up) { |u| u.permit(:name, :email, :password, :password_confirmation) } - devise_parameter_sanitizer.for(:account_update) { |u| u.permit(:name, :email, :password, :password_confirmation, :current_password) } + devise_parameter_sanitizer.for(:sign_up) << :name + devise_parameter_sanitizer.for(:account_update) << :name end end diff --git a/features/support/env.rb b/features/support/env.rb index 47f1cc8..4cee7dc 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -1,11 +1,6 @@ require 'simplecov' -require 'coveralls' SimpleCov.start do - formatter SimpleCov::Formatter::MultiFormatter[ - Coveralls::SimpleCov::Formatter, - SimpleCov::Formatter::HTMLFormatter - ] coverage_dir 'coverage/cucumber' add_group "Models", "app/models" -- libgit2 0.21.2