Linter: TrailingWhitespace

This commit is contained in:
Jason Zimdars
2025-05-29 23:27:28 -05:00
parent ac53f9ee21
commit 5051e5d53d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ class Card < ApplicationRecord
transaction do
old_collection = Collection.find_by(id: collection_id_before_last_save)
if old_collection.present?
track_event "collection_changed", particulars: {
track_event "collection_changed", particulars: {
old_collection: old_collection.name,
new_collection: collection.name
}
+2 -2
View File
@@ -133,10 +133,10 @@ class CardTest < ActiveSupport::TestCase
card = cards(:logo)
assignee = users(:david)
card.toggle_assignment(assignee)
collection = collections(:private)
assert_not_includes collection.users, assignee
card.update!(collection: collection)
assert_includes collection.users.reload, assignee
end