Skip to content

Commit 06162ea

Browse files
chao-xianhannahkc
andcommitted
Fix mising word from page title for moving forms
Co-authored-by: Hannah Content <hannah.cooper@digital.cabinet-office.gov.uk>
1 parent 1f3478c commit 06162ea

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/locales/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ en:
11821182
mou_signature_confirmation: You’ve agreed to the MOU
11831183
mou_signature_new: GOV.UK Forms Memorandum of Understanding
11841184
mou_signatures: Memorandum of Understanding agreements
1185-
move_form: Move form to a different group
1185+
move_form: Move this form to a different group
11861186
name_settings: Ask for a person’s name
11871187
new_page: Edit question
11881188
new_secondary_skip: 'Route for any other answer: set questions to skip'

spec/features/group_form/move_form_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def and_i_cannot_visit_the_move_form_page
7171
end
7272

7373
def then_i_see_the_move_form_page
74-
expect(page.find("h1")).to have_content("#{form.name}\n-\nMove form to a different group")
74+
expect(page.find("h1")).to have_content("#{form.name}\n-\nMove this form to a different group")
7575
expect(page).to have_content(another_group.name)
7676
end
7777

spec/views/group_forms/edit.html.erb_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
it "renders the page title" do
2222
render
23-
expect(rendered).to have_css("h1", text: /Move form/)
23+
expect(rendered).to have_css("h1", text: /Move this form/)
2424
end
2525

2626
it "renders the page title with error prefix when form has errors" do

0 commit comments

Comments
 (0)