From dfead9fdbe72d2ba6d0c27c3f7fc009848bdd0dd Mon Sep 17 00:00:00 2001 From: Ivan Kuchin Date: Tue, 4 Feb 2025 18:04:39 +0100 Subject: [PATCH] frozen_string_literal in changed specs --- modules/auth_saml/spec/lib/open_project/auth_saml_spec.rb | 2 ++ .../avatars/spec/controllers/avatars/avatar_controller_spec.rb | 2 ++ modules/avatars/spec/controllers/avatars/my_controller_spec.rb | 2 ++ .../avatars/spec/controllers/avatars/users_controller_spec.rb | 2 ++ modules/avatars/spec/models/user_spec.rb | 2 ++ modules/avatars/spec/services/avatars/update_service_spec.rb | 2 ++ modules/ldap_groups/spec/services/synchronization_spec.rb | 2 ++ modules/ldap_groups/spec/services/synchronize_filter_spec.rb | 2 ++ .../spec/services/token_delivery/message_bird_spec.rb | 2 ++ .../spec/services/token_delivery/sns_spec.rb | 2 ++ .../spec/services/token_delivery/totp_spec.rb | 2 ++ 11 files changed, 22 insertions(+) diff --git a/modules/auth_saml/spec/lib/open_project/auth_saml_spec.rb b/modules/auth_saml/spec/lib/open_project/auth_saml_spec.rb index a56bdc32ee8..accd3adc331 100644 --- a/modules/auth_saml/spec/lib/open_project/auth_saml_spec.rb +++ b/modules/auth_saml/spec/lib/open_project/auth_saml_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../spec_helper" require "open_project/auth_saml" diff --git a/modules/avatars/spec/controllers/avatars/avatar_controller_spec.rb b/modules/avatars/spec/controllers/avatars/avatar_controller_spec.rb index 8a26622a897..abd480a1646 100644 --- a/modules/avatars/spec/controllers/avatars/avatar_controller_spec.rb +++ b/modules/avatars/spec/controllers/avatars/avatar_controller_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../spec_helper" require_relative "../../shared_examples" diff --git a/modules/avatars/spec/controllers/avatars/my_controller_spec.rb b/modules/avatars/spec/controllers/avatars/my_controller_spec.rb index c76b338a65a..aafde77f4e2 100644 --- a/modules/avatars/spec/controllers/avatars/my_controller_spec.rb +++ b/modules/avatars/spec/controllers/avatars/my_controller_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../spec_helper" require_relative "../../shared_examples" diff --git a/modules/avatars/spec/controllers/avatars/users_controller_spec.rb b/modules/avatars/spec/controllers/avatars/users_controller_spec.rb index fbbbd7413ba..7dd50e65155 100644 --- a/modules/avatars/spec/controllers/avatars/users_controller_spec.rb +++ b/modules/avatars/spec/controllers/avatars/users_controller_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../spec_helper" require_relative "../../shared_examples" diff --git a/modules/avatars/spec/models/user_spec.rb b/modules/avatars/spec/models/user_spec.rb index f152e814578..9966e4c719b 100644 --- a/modules/avatars/spec/models/user_spec.rb +++ b/modules/avatars/spec/models/user_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../spec_helper" require_relative "../shared_examples" diff --git a/modules/avatars/spec/services/avatars/update_service_spec.rb b/modules/avatars/spec/services/avatars/update_service_spec.rb index 2ed1044d48a..0a6fc419144 100644 --- a/modules/avatars/spec/services/avatars/update_service_spec.rb +++ b/modules/avatars/spec/services/avatars/update_service_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../spec_helper" RSpec.describe Avatars::UpdateService do diff --git a/modules/ldap_groups/spec/services/synchronization_spec.rb b/modules/ldap_groups/spec/services/synchronization_spec.rb index bcb73485268..517cf57720e 100644 --- a/modules/ldap_groups/spec/services/synchronization_spec.rb +++ b/modules/ldap_groups/spec/services/synchronization_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../spec_helper" require "ladle" diff --git a/modules/ldap_groups/spec/services/synchronize_filter_spec.rb b/modules/ldap_groups/spec/services/synchronize_filter_spec.rb index c1b94ba0860..0c2632d81af 100644 --- a/modules/ldap_groups/spec/services/synchronize_filter_spec.rb +++ b/modules/ldap_groups/spec/services/synchronize_filter_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../spec_helper" require "ladle" diff --git a/modules/two_factor_authentication/spec/services/token_delivery/message_bird_spec.rb b/modules/two_factor_authentication/spec/services/token_delivery/message_bird_spec.rb index 8946549e8f6..22e0b108b50 100644 --- a/modules/two_factor_authentication/spec/services/token_delivery/message_bird_spec.rb +++ b/modules/two_factor_authentication/spec/services/token_delivery/message_bird_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../spec_helper" require "messagebird" diff --git a/modules/two_factor_authentication/spec/services/token_delivery/sns_spec.rb b/modules/two_factor_authentication/spec/services/token_delivery/sns_spec.rb index 067a31aad70..033c59d6b0e 100644 --- a/modules/two_factor_authentication/spec/services/token_delivery/sns_spec.rb +++ b/modules/two_factor_authentication/spec/services/token_delivery/sns_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../spec_helper" RSpec.describe OpenProject::TwoFactorAuthentication::TokenStrategy::Sns do diff --git a/modules/two_factor_authentication/spec/services/token_delivery/totp_spec.rb b/modules/two_factor_authentication/spec/services/token_delivery/totp_spec.rb index 8936840ba8f..457f00dd161 100644 --- a/modules/two_factor_authentication/spec/services/token_delivery/totp_spec.rb +++ b/modules/two_factor_authentication/spec/services/token_delivery/totp_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require_relative "../../spec_helper" RSpec.describe OpenProject::TwoFactorAuthentication::TokenStrategy::Totp do