From bae1c954aff9b3e43a48e723832c8e7ee6310471 Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Wed, 27 May 2015 16:58:16 -0400 Subject: [PATCH] Fix tests for mobile responsive image --- seed_data/challenges/bootstrap.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed_data/challenges/bootstrap.json b/seed_data/challenges/bootstrap.json index afb22a26c7..3369b2601a 100644 --- a/seed_data/challenges/bootstrap.json +++ b/seed_data/challenges/bootstrap.json @@ -16,7 +16,7 @@ ], "tests": [ "assert($('img').hasClass('img-responsive'), 'Your new image should have the class \"img-responsive\".')", - "assert(new RegExp('http://bit.ly/fcc-kittens2', 'gi').test($('img').prop('src')), 'You should add a second image with the src of http://bit.ly/fcc-kittens2.')" + "assert(new RegExp('http://bit.ly/fcc-kittens2', 'gi').test($('img.img-responsive').attr('src')), 'You should add a second image with the src of http://bit.ly/fcc-kittens2.')" ], "challengeSeed": [ "",