diff --git a/app/components/layout/common_html_attributes_component.rb b/app/components/layout/common_html_attributes_component.rb
index 0d4d8b741..63f35e0f6 100644
--- a/app/components/layout/common_html_attributes_component.rb
+++ b/app/components/layout/common_html_attributes_component.rb
@@ -1,4 +1,4 @@
-class Layout::CommonHTMLAttributesComponent < ApplicationComponent
+class Layout::CommonHtmlAttributesComponent < ApplicationComponent
use_helpers :rtl?
private
diff --git a/app/helpers/layouts_helper.rb b/app/helpers/layouts_helper.rb
index 32ddde240..c602ba983 100644
--- a/app/helpers/layouts_helper.rb
+++ b/app/helpers/layouts_helper.rb
@@ -11,6 +11,6 @@ module LayoutsHelper
end
def common_html_attributes
- render Layout::CommonHTMLAttributesComponent.new
+ render Layout::CommonHtmlAttributesComponent.new
end
end
diff --git a/app/lib/sms_api.rb b/app/lib/sms_api.rb
index d6373e934..db61fffe3 100644
--- a/app/lib/sms_api.rb
+++ b/app/lib/sms_api.rb
@@ -1,5 +1,5 @@
require "open-uri"
-class SMSApi
+class SmsApi
attr_accessor :client
def initialize
diff --git a/app/models/verification/sms.rb b/app/models/verification/sms.rb
index 4e8e07f71..ad23dda00 100644
--- a/app/models/verification/sms.rb
+++ b/app/models/verification/sms.rb
@@ -24,7 +24,7 @@ class Verification::Sms
end
def send_sms
- SMSApi.new.sms_deliver(user.unconfirmed_phone, user.sms_confirmation_code)
+ SmsApi.new.sms_deliver(user.unconfirmed_phone, user.sms_confirmation_code)
end
def verified?
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
index e95cdbca7..17b2717d6 100644
--- a/config/initializers/inflections.rb
+++ b/config/initializers/inflections.rb
@@ -18,5 +18,6 @@
ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.plural(/^(\d+)$/i, '\1')
inflect.acronym "SDG"
+ inflect.acronym "WYSIWYG"
inflect.irregular "organización", "organizaciones"
end
diff --git a/spec/components/layout/common_html_attributes_component_spec.rb b/spec/components/layout/common_html_attributes_component_spec.rb
index ded22103c..ecdc6187b 100644
--- a/spec/components/layout/common_html_attributes_component_spec.rb
+++ b/spec/components/layout/common_html_attributes_component_spec.rb
@@ -1,7 +1,7 @@
require "rails_helper"
-describe Layout::CommonHTMLAttributesComponent do
- let(:component) { Layout::CommonHTMLAttributesComponent.new }
+describe Layout::CommonHtmlAttributesComponent do
+ let(:component) { Layout::CommonHtmlAttributesComponent.new }
context "with multitenancy disabled" do
before { allow(Rails.application.config).to receive(:multitenancy).and_return(false) }