@@ -23,12 +23,12 @@ defmodule TamaEx.BroadcastTest do
2323 % {
2424 id: "550e8400-e29b-41d4-a716-446655440002" ,
2525 relation: "input" ,
26- content: " some content"
26+ content: % { "content" => " some content"}
2727 } ,
2828 % {
2929 id: "550e8400-e29b-41d4-a716-446655440003" ,
3030 relation: "output" ,
31- content: " result content"
31+ content: % { "content" => " result content"}
3232 }
3333 ] ,
3434 thought: % {
@@ -78,7 +78,7 @@ defmodule TamaEx.BroadcastTest do
7878 assert length ( broadcast . step . concepts ) == 2
7979 assert Enum . at ( broadcast . step . concepts , 0 ) . id == "550e8400-e29b-41d4-a716-446655440002"
8080 assert Enum . at ( broadcast . step . concepts , 0 ) . relation == "input"
81- assert Enum . at ( broadcast . step . concepts , 0 ) . content == " some content"
81+ assert Enum . at ( broadcast . step . concepts , 0 ) . content == % { "content" => " some content"}
8282
8383 # Test thought and chain
8484 assert broadcast . step . thought . relation == "primary"
@@ -232,22 +232,22 @@ defmodule TamaEx.BroadcastTest do
232232 % {
233233 id: "550e8400-e29b-41d4-a716-446655440031" ,
234234 relation: "input" ,
235- content: " first input"
235+ content: % { "content" => " first input"}
236236 } ,
237237 % {
238238 id: "550e8400-e29b-41d4-a716-446655440032" ,
239239 relation: "processing" ,
240- content: " intermediate result"
240+ content: % { "content" => " intermediate result"}
241241 } ,
242242 % {
243243 id: "550e8400-e29b-41d4-a716-446655440033" ,
244244 relation: "output" ,
245- content: " final output"
245+ content: % { "content" => " final output"}
246246 } ,
247247 % {
248248 id: "550e8400-e29b-41d4-a716-446655440034" ,
249249 relation: "metadata" ,
250- content: " process metadata"
250+ content: % { "content" => " process metadata"}
251251 }
252252 ] ,
253253 thought: % {
@@ -311,7 +311,7 @@ defmodule TamaEx.BroadcastTest do
311311 % {
312312 id: "550e8400-e29b-41d4-a716-446655440041" ,
313313 relation: "input" ,
314- content: " some content"
314+ content: % { "content" => " some content"}
315315 }
316316 ] ,
317317 thought: % {
0 commit comments