 fixtures =
   empty: []
 
-  singleRun: [
+  plain: [
     new Trix.Piece("Hello world")
   ]
 
-  multipleRun: [
+  bold: [
+    new Trix.Piece("Hello world", bold: true)
+  ]
+
+  italic: [
+    new Trix.Piece("Hello world", italic: true)
+  ]
+
+  formatted: [
     new Trix.Piece("Hello, "),
-    new Trix.Piece("rich ", { bold: true, italic: true }),
-    new Trix.Piece("text", { italic: true }),
+    new Trix.Piece("rich ", bold: true, italic: true),
+    new Trix.Piece("text", italic: true),
     new Trix.Piece("!")
   ]
 

  empty = fixture("empty")
  equal empty.getLength(), 0, "empty text length is 0"

  text = fixture("singleRun")
  equal text.getLength(), 11, "single-run text length"

  text = fixture("multipleRun")
  equal text.getLength(), 17, "multiple-run text length"


# Fixtures


  text = Trix.Text.textForAttachmentWithAttributes(attachment, bold: true)
  runsEqual text,
    [{ attachment: attachment, string: undefined, attributes: { bold: true } }],
    "single-run text with attachment and attributes"


