0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 15:21:11 +02:00

Invalidate cache before checking enabled?

Dieser Commit ist enthalten in:
Angus McLeod 2020-12-04 09:45:28 +11:00
Ursprung 61dfa9b2aa
Commit 8a2a143ea8

Datei anzeigen

@ -184,6 +184,7 @@ describe CustomWizard::CustomField do
end
it "is not enabled if there are no custom fields" do
CustomWizard::CustomField.invalidate_cache
expect(CustomWizard::CustomField.enabled?).to eq(false)
end
end