From 7b7e6adff601ad6e33c58677bdc5398d5b499902 Mon Sep 17 00:00:00 2001 From: ekojsalim Date: Fri, 5 Jun 2015 19:34:12 +0700 Subject: [PATCH] Add tests for confirm the ending bonfire --- seed_data/challenges/basic-bonfires.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seed_data/challenges/basic-bonfires.json b/seed_data/challenges/basic-bonfires.json index d067eed8e3..bc4adecb0d 100644 --- a/seed_data/challenges/basic-bonfires.json +++ b/seed_data/challenges/basic-bonfires.json @@ -336,6 +336,8 @@ ], "tests": [ "assert.strictEqual(end('Bastian', 'n'), true, 'should equal true if target equals end of string');", + "assert.strictEqual(end('Connor', 'n'), false, 'should equal false if target does not equal end of string');", + "assert.strictEqual(end('Walking on water and developing software from a specification are easy if both are frozen.', 'specification'), false, 'should equal false if target does not equal end of string');", "assert.strictEqual(end('He has to give me a new name', 'name'), true, 'should equal true if target equals end of string');", "assert.strictEqual(end('If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing', 'mountain'), false, 'should equal false if target does not equal end of string');" ],