안녕하세요,
이 부분에 대해 명시적인 테스트가 있어서 놀랍습니다:
it "fires the trigger when post has a link" do
list =
capture_contexts do
PostCreator.create(
user,
raw: "Check out this [link](https://example.com)",
topic_id: topic.id,
)
end
expect(list.length).to eq(1)
expect(list[0]["kind"]).to eq("post_created_edited")
end
시도 중인 전체 자동화 설정과 트리거가 발생하지 않은 게시글의 원본(raw)을 스크린샷으로 공유해 주시겠어요?