From b1ae8c6d0ef554c1c6b28c14c4cd79e4175c086a Mon Sep 17 00:00:00 2001 From: Dushan Despotovic Date: Wed, 20 Jul 2022 10:54:02 +0100 Subject: [PATCH] remove unused stuff --- app/controllers/schemes_controller.rb | 1 - spec/mailers/devise_notify_mailer_spec.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/schemes_controller.rb b/app/controllers/schemes_controller.rb index 0e6c8cbd6..61cd11521 100644 --- a/app/controllers/schemes_controller.rb +++ b/app/controllers/schemes_controller.rb @@ -173,7 +173,6 @@ private full_params = required_params[:arrangement_type] == "D" && required_params[:owning_organisation_id].present? ? required_params.merge(managing_organisation_id: required_params[:owning_organisation_id]) : required_params full_params[:sensitive] = full_params[:sensitive].to_i if full_params[:sensitive] - # full_params[:support_services_provider] = full_params[:support_services_provider].to_i unless full_params[:support_services_provider] && full_params[:support_services_provider].empty? if current_user.data_coordinator? full_params[:owning_organisation_id] = current_user.organisation_id diff --git a/spec/mailers/devise_notify_mailer_spec.rb b/spec/mailers/devise_notify_mailer_spec.rb index 7c8eacda4..a086eddaf 100644 --- a/spec/mailers/devise_notify_mailer_spec.rb +++ b/spec/mailers/devise_notify_mailer_spec.rb @@ -1,7 +1,7 @@ require "rails_helper" RSpec.describe DeviseNotifyMailer do - xdescribe "Intercept mail" do + describe "Intercept mail" do let(:notify_client) { instance_double(Notifications::Client) } let(:devise_notify_mailer) { described_class.new } let(:organisation) { FactoryBot.create(:organisation) }