1
0
Fork 0

improve test explanation

Dieser Commit ist enthalten in:
merefield 2023-07-15 10:00:54 +01:00
Ursprung 1b93c06188
Commit b71f627d73

Datei anzeigen

@ -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)