Linter: TrailingWhitespace
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user