From f645e0e2913731c7fd002d2dec45ad729fe59e5e Mon Sep 17 00:00:00 2001 From: Chris Preisinger Date: Mon, 5 Aug 2024 20:10:49 -0400 Subject: [PATCH] 22|24 Fix rubocop issues --- app/models/login_gov.rb | 1 - spec/models/user_spec.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/login_gov.rb b/app/models/login_gov.rb index ac88f861..7d4e398e 100644 --- a/app/models/login_gov.rb +++ b/app/models/login_gov.rb @@ -21,7 +21,6 @@ def initialize(msg, code:, body:) attr_reader :config def initialize(config = Rails.configuration.login_gov_oidc) - puts config.inspect @config = config.freeze.dup end diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 5c41693e..4de05d55 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -34,7 +34,7 @@ # require 'rails_helper' -RSpec.describe User, type: :model do +RSpec.describe User do let(:gov_userinfo) do [{ "email" => "test@example.gov",