Skip to content

Commit 9b57eae

Browse files
committed
resolve deprecation warnings
1 parent 0abdd69 commit 9b57eae

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

test/sandbox/test/base_test.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ class SomeComponent < ViewComponent::Base
165165
end
166166

167167
module TestAlreadyConfigurableModule
168-
include ActiveSupport::Configurable
169168
include ViewComponent::Configurable
170169

171170
configure do |config|
@@ -177,14 +176,12 @@ class SomeComponent < ViewComponent::Base
177176
end
178177

179178
module TestAlreadyConfiguredModule
180-
include ActiveSupport::Configurable
181-
179+
include ViewComponent::Configurable
180+
182181
configure do |config|
183182
config.view_component = ActiveSupport::InheritableOptions[instrumentation_enabled: false]
184183
end
185184

186-
include ViewComponent::Configurable
187-
188185
class SomeComponent < ViewComponent::Base
189186
end
190187
end

0 commit comments

Comments
 (0)