Move feature flag test setup into config (#34124)

This commit is contained in:
David Roetzel
2025-03-11 14:29:17 +01:00
committed by GitHub
parent dc43699b77
commit bedf808e02
4 changed files with 24 additions and 19 deletions

View File

@@ -19,8 +19,8 @@ module Mastodon::Feature
super
end
def respond_to_missing?(name)
name.to_s.end_with?('_enabled?')
def respond_to_missing?(name, include_all = false)
name.to_s.end_with?('_enabled?') || super
end
end
end