Sha256: d9eb10f2769016c6f14a23550da1bfecb55ffe9f22da444889e33049d5faa54e
Contents?: true
Size: 472 Bytes
Versions: 4
Compression:
Stored size: 472 Bytes
Contents
{assert, test, testGroup} = Trix.TestHelpers testGroup "Trix.Document", -> createDocumentWithAttachment = (attachment) -> text = Trix.Text.textForAttachmentWithAttributes(attachment) new Trix.Document [new Trix.Block text] test "documents with different attachments are not assert.equal", -> a = createDocumentWithAttachment(new Trix.Attachment url: "a") b = createDocumentWithAttachment(new Trix.Attachment url: "b") assert.notOk a.isEqualTo(b)
Version data entries
4 entries across 4 versions & 1 rubygems