diff --git a/spec/models/form/sales/subsections/discounted_ownership_scheme_spec.rb b/spec/models/form/sales/subsections/discounted_ownership_scheme_spec.rb index bfd5313fb..67e51ff54 100644 --- a/spec/models/form/sales/subsections/discounted_ownership_scheme_spec.rb +++ b/spec/models/form/sales/subsections/discounted_ownership_scheme_spec.rb @@ -56,6 +56,10 @@ RSpec.describe Form::Sales::Subsections::DiscountedOwnershipScheme, type: :model expect(discounted_ownership_scheme.id).to eq("discounted_ownership_scheme") end + it "has the correct copy key" do + expect(discounted_ownership_scheme.copy_key).to eq("sale_information") + end + it "has the correct label" do expect(discounted_ownership_scheme.label).to eq("Discounted ownership scheme") end diff --git a/spec/models/form/sales/subsections/outright_sale_spec.rb b/spec/models/form/sales/subsections/outright_sale_spec.rb index 52941d0a9..b91553939 100644 --- a/spec/models/form/sales/subsections/outright_sale_spec.rb +++ b/spec/models/form/sales/subsections/outright_sale_spec.rb @@ -109,6 +109,10 @@ RSpec.describe Form::Sales::Subsections::OutrightSale, type: :model do expect(outright_sale.id).to eq("outright_sale") end + it "has the correct copy key" do + expect(outright_sale.copy_key).to eq("sale_information") + end + it "has the correct label" do expect(outright_sale.label).to eq("Outright sale") end diff --git a/spec/models/form/sales/subsections/shared_ownership_scheme_spec.rb b/spec/models/form/sales/subsections/shared_ownership_scheme_spec.rb index 4c546d58c..51e2ee60d 100644 --- a/spec/models/form/sales/subsections/shared_ownership_scheme_spec.rb +++ b/spec/models/form/sales/subsections/shared_ownership_scheme_spec.rb @@ -65,6 +65,10 @@ RSpec.describe Form::Sales::Subsections::SharedOwnershipScheme, type: :model do expect(shared_ownership_scheme.id).to eq("shared_ownership_scheme") end + it "has the correct copy key" do + expect(shared_ownership_scheme.copy_key).to eq("sale_information") + end + it "has the correct label" do expect(shared_ownership_scheme.label).to eq("Shared ownership scheme") end