From 01ad03b9d74f0686466714369f537a5709b5cb34 Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Tue, 26 May 2015 17:58:27 +0100 Subject: [PATCH 1/2] Quick fix to issue #509 --- seed_data/challenges/basic-html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index e4131a415e..82c267a6d5 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -53,7 +53,7 @@ "You can create a paragraph element like so: <p>I'm a p tag!</p>" ], "tests": [ - "assert(($('p').length > 0), 'Create an h2 elements.')", + "assert(($('p').length > 0), 'Create an p elements.')", "assert.isTrue((/hello(\\s)+paragraph/gi).test($('p').text()), 'Your paragraph element should have the text \"Hello Paragraph\"')" ], "challengeSeed": [ From 15817591d4c3bc87b76bea40d159472963278b3e Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Tue, 26 May 2015 13:33:50 -0400 Subject: [PATCH 2/2] Closes #493 --- seed_data/challenges/basic-html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index 1eef6c6c28..b4464c2a6d 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -474,7 +474,7 @@ ], "tests": [ "assert($('img').length > 0, 'Your webpage should have an image element.')", - "assert(!!$('img').attr('src'), 'Your image should have have a src attribute that points to the kitten image.')" + "assert($('img').attr('src').toString() === 'http://bit.ly/fcc-kittens', 'Your image should have have a src attribute that points to the kitten image.')" ], "challengeSeed": [ "",