From de53ae77d8696ef9a8c89fc9661c1fb1acdd1ce1 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 8 Feb 2015 20:21:27 +0000 Subject: Clarify behaviour in test names --- tests/writers/markdown-writer.tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/writers/markdown-writer.tests.js b/tests/writers/markdown-writer.tests.js index f4d17ce..9d3def5 100644 --- a/tests/writers/markdown-writer.tests.js +++ b/tests/writers/markdown-writer.tests.js @@ -49,7 +49,7 @@ describe('markdown-writer', function() { return assert.equal(writer.asString(), "Hello World \n"); }); - test('can generate strong text', function() { + test('strong text is surrounded by two underscores', function() { var writer = mdWriter.writer(); writer.text("Hello "); writer.open("strong"); @@ -58,7 +58,7 @@ describe('markdown-writer', function() { return assert.equal(writer.asString(), "Hello __World__"); }); - test('can generate emphasis text', function() { + test('emphasised text is surrounded by one asterix', function() { var writer = mdWriter.writer(); writer.text("Hello "); writer.open("em"); @@ -67,7 +67,7 @@ describe('markdown-writer', function() { return assert.equal(writer.asString(), "Hello *World*"); }); - test('can generate hyperlinks', function() { + test('anchor tags are written as hyperlinks', function() { var writer = mdWriter.writer(); writer.open("a", { "href": "http://example.com" }); writer.text("Hello"); -- cgit v1.2.3