Collection entropy config edits render a turbo frame

so we don't disturb the rest of the edit page.
This commit is contained in:
Mike Dalessio
2025-07-02 17:50:37 -04:00
parent 36727ba5ea
commit 263bc486ed
3 changed files with 8 additions and 6 deletions
@@ -12,6 +12,6 @@ class Collections::EntropyConfigurationsControllerTest < ActionDispatch::Integra
assert_equal 1.day, @collection.entropy_configuration.reload.auto_close_period
assert_equal 2.days, @collection.entropy_configuration.reload.auto_reconsider_period
assert_redirected_to edit_collection_path(@collection)
assert_turbo_stream action: :replace, target: dom_id(@collection, :entropy_configuration)
end
end