Files
fizzy/test/models/reaction_test.rb
T
2025-06-05 16:07:19 +02:00

14 lines
325 B
Ruby

require "test_helper"
class ReactionTest < ActiveSupport::TestCase
setup do
Current.session = sessions(:david)
end
test "creating a reaction touches the card activity" do
assert_changes -> { cards(:logo).reload.last_active_at } do
comments(:logo_1).reactions.create!(content: "Nice!")
end
end
end