diff --git a/config/locales/en.yml b/config/locales/en.yml index 83c7e4fe43..4a6e9eb986 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -103,7 +103,7 @@ en: errors: models: enterprise_fee: - inherit_tax_requires_per_item_calculator: "Inheriting the tax categeory requires a per-item calculator." + inherit_tax_requires_per_item_calculator: "Inheriting the tax category requires a per-item calculator." spree/image: attributes: attachment: diff --git a/spec/models/enterprise_fee_spec.rb b/spec/models/enterprise_fee_spec.rb index e2881f3a05..769ab93fb0 100644 --- a/spec/models/enterprise_fee_spec.rb +++ b/spec/models/enterprise_fee_spec.rb @@ -47,7 +47,7 @@ RSpec.describe EnterpriseFee do ) expect(subject.save).to eq false expect(subject.errors.full_messages.first).to eq( - "Inheriting the tax categeory requires a per-item calculator." + "Inheriting the tax category requires a per-item calculator." ) end end diff --git a/spec/system/admin/enterprise_fees_spec.rb b/spec/system/admin/enterprise_fees_spec.rb index 2c90e748e8..79e960280d 100644 --- a/spec/system/admin/enterprise_fees_spec.rb +++ b/spec/system/admin/enterprise_fees_spec.rb @@ -154,7 +154,7 @@ RSpec.describe ' # editing to an invalid combination select 'Flat Rate (per order)', from: "#{prefix}_calculator_type" expect{ click_button 'Update' }.not_to change { fee.reload.calculator_type } - expect(page).to have_content "Inheriting the tax categeory requires a per-item calculator." + expect(page).to have_content "Inheriting the tax category requires a per-item calculator." end end @@ -299,7 +299,7 @@ RSpec.describe ' end context "an error message is displayed" do - message = 'Inheriting the tax categeory requires a per-item calculator.' + message = 'Inheriting the tax category requires a per-item calculator.' it_behaves_like "setting it up", 'Inherit From Product', 'Flat Rate (per order)', message, 0 end