Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
Ursprung
2c7addb9ae
Commit
294c35cf9b
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Laden …
In neuem Issue referenzieren