We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffac254 commit 347f145Copy full SHA for 347f145
1 file changed
spec/rails_admin/config_spec.rb
@@ -381,7 +381,9 @@ class Toggle < RailsAdmin::Config::Fields::Base
381
i.name == "RailsAdmin reload config in development"
382
end.first.block.call
383
if defined?(ActiveSupport::Reloader)
384
- ActiveSupport::Reloader.new.tap(&:class_unload!)
+ Rails.application.executor.wrap do
385
+ ActiveSupport::Reloader.new.tap(&:class_unload!).complete!
386
+ end
387
# else
388
# for Rails 4 not imlemented yet
389
end
0 commit comments