mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 09:44:40 +08:00
DEV: Apply syntax_tree formatting to spec/*
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
RSpec.describe ThemeModifierHelper do
|
||||
fab!(:theme) { Fabricate(:theme).tap { |t| t.theme_modifier_set.update!(serialize_topic_excerpts: true) } }
|
||||
fab!(:theme) do
|
||||
Fabricate(:theme).tap { |t| t.theme_modifier_set.update!(serialize_topic_excerpts: true) }
|
||||
end
|
||||
|
||||
it "defines a getter for modifiers" do
|
||||
tmh = ThemeModifierHelper.new(theme_ids: [theme.id])
|
||||
|
Reference in New Issue
Block a user