From de2ad65bfa39b4a6a7c577ae675c182595c42d50 Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Wed, 27 May 2015 09:45:14 -0400 Subject: [PATCH] Add on to fixed copy by extending test to check for "cat photos". Fixes #598 --- 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 1cba228451c..aafcefe3955 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -692,7 +692,7 @@ "Here's an example: <p>Here's a <a href='http://freecodecamp.com'> link to Free Code Camp</a> for you to follow.</p>" ], "tests": [ - "assert((/photo/gi).test($('a').text()), 'Your anchor element should have the anchor text of \"See my cat photos\"')", + "assert((/cat photos/gi).test($('a').text()), 'Your anchor element should have the anchor text of \"See my cat photos\"')", "assert($('a').filter(function(index) { return /com/gi.test($('a').attr('href')); }).length > 0, 'You need an anchor element that links to http://catphotoapp.com.')" ], "challengeSeed": [