0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-13 21:42:53 +01:00

COMPATIBILITY: three custom fields were dropped in core

991b62b6f1
Dieser Commit ist enthalten in:
Angus McLeod 2022-05-13 11:40:08 +02:00
Ursprung 2c7addb9ae
Commit 294c35cf9b
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -220,11 +220,11 @@ describe CustomWizard::CustomField do
end end
it "lists custom field records added by other plugins " do it "lists custom field records added by other plugins " do
expect(CustomWizard::CustomField.external_list.length).to eq(11) expect(CustomWizard::CustomField.external_list.length).to eq(8)
end end
it "lists all custom field records" do it "lists all custom field records" do
expect(CustomWizard::CustomField.full_list.length).to eq(15) expect(CustomWizard::CustomField.full_list.length).to eq(12)
end end
end end

Datei anzeigen

@ -18,7 +18,7 @@ describe CustomWizard::AdminCustomFieldsController do
it "returns the full list of custom fields" do it "returns the full list of custom fields" do
get "/admin/wizards/custom-fields.json" get "/admin/wizards/custom-fields.json"
expect(response.parsed_body.length).to eq(15) expect(response.parsed_body.length).to eq(12)
end end
it "saves custom fields" do it "saves custom fields" do