From 1586fc7df6bcdecd02a19608467af0b9651fb975 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Wed, 7 Dec 2022 10:17:13 +0000 Subject: [PATCH] feat: location code copy tweak --- app/helpers/locations_helper.rb | 2 +- spec/helpers/locations_helper_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/locations_helper.rb b/app/helpers/locations_helper.rb index 411c0e632..210dc9ef0 100644 --- a/app/helpers/locations_helper.rb +++ b/app/helpers/locations_helper.rb @@ -31,7 +31,7 @@ module LocationsHelper { name: "Number of units", value: location.units, attribute: "units" }, { name: "Most common unit", value: location.type_of_unit, attribute: "type_of_unit" }, { name: "Mobility standards", value: location.mobility_type, attribute: "mobility_standards" }, - { name: "Code", value: location.location_code, attribute: "location_code" }, + { name: "Location code", value: location.location_code, attribute: "location_code" }, { name: "Availability", value: location_availability(location), attribute: "availability" }, ] diff --git a/spec/helpers/locations_helper_spec.rb b/spec/helpers/locations_helper_spec.rb index d55d584a7..4d58a7e8f 100644 --- a/spec/helpers/locations_helper_spec.rb +++ b/spec/helpers/locations_helper_spec.rb @@ -144,7 +144,7 @@ RSpec.describe LocationsHelper do { attribute: "units", name: "Number of units", value: location.units }, { attribute: "type_of_unit", name: "Most common unit", value: location.type_of_unit }, { attribute: "mobility_standards", name: "Mobility standards", value: location.mobility_type }, - { attribute: "location_code", name: "Code", value: location.location_code }, + { attribute: "location_code", name: "Location code", value: location.location_code }, { attribute: "availability", name: "Availability", value: "Active from 1 April 2022" }, { attribute: "status", name: "Status", value: :active }, ]