From b71f627d73460ab1fbbf7ced67049a91502eabb0 Mon Sep 17 00:00:00 2001 From: merefield Date: Sat, 15 Jul 2023 10:00:54 +0100 Subject: [PATCH] improve test explanation --- spec/requests/custom_wizard/admin/wizard_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/custom_wizard/admin/wizard_controller_spec.rb b/spec/requests/custom_wizard/admin/wizard_controller_spec.rb index cf1b7ec7..04884b49 100644 --- a/spec/requests/custom_wizard/admin/wizard_controller_spec.rb +++ b/spec/requests/custom_wizard/admin/wizard_controller_spec.rb @@ -40,7 +40,7 @@ describe CustomWizard::AdminWizardController do expect(response.parsed_body['steps'].length).to eq(3) end - it "removes wizard templates and make sure create_topic_wizard settings for that wizard are removed from Categories" do + it "removes wizard templates whilst making sure create_topic_wizard settings for that wizard are removed from Categories" do expect(CategoryCustomField.find_by(category_id: category.id, name: 'create_topic_wizard', value: template['name'])).not_to eq(nil) delete "/admin/wizards/wizard/#{template['id']}.json" expect(response.status).to eq(200)