discourse/spec/lib/system_themes_manager_spec.rb
Krzysztof Kotlarek 1a2b003d35
FIX: import Horizon system theme (#33229)
System themes were introduced here -
https://github.com/discourse/discourse/pull/32681

In this PR, Horizon is imported.
2025-06-17 14:03:38 +08:00

9 lines
275 B
Ruby
Vendored

# frozen_string_literal: true
RSpec.describe SystemThemesManager do
it "is idempotent" do
Theme.delete_all
expect { SystemThemesManager.sync! }.to change { Theme.system.count }.by(2)
expect { SystemThemesManager.sync! }.not_to change { Theme.count }
end
end