Rename Entropy::Configuration to just Entropy

This commit is contained in:
David Heinemeier Hansson
2025-11-02 13:11:41 +01:00
parent d29e4dcdcf
commit b3474ec97d
29 changed files with 148 additions and 148 deletions
@@ -0,0 +1,16 @@
require "test_helper"
class Collections::EntropiesControllerTest < ActionDispatch::IntegrationTest
setup do
sign_in_as :kevin
@collection = collections(:writebook)
end
test "update" do
put collection_entropy_path(@collection), params: { collection: { auto_postpone_period: 1.day } }
assert_equal 1.day, @collection.entropy.reload.auto_postpone_period
assert_turbo_stream action: :replace, target: dom_id(@collection, :entropy)
end
end