From b82f62665a88bff8b5058905fb92ffed83a2377f Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Wed, 27 May 2015 16:10:38 -0400 Subject: [PATCH] add tests to ensure clockwise margin --- seed_data/challenges/basic-html5-and-css.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index 2f5a61a8d0..2e9a024ceb 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -1994,7 +1994,10 @@ ], "tests": [ "assert($('.green-box').css('margin-left') === '40px', 'Your green-box class should give the left of elements 40px of margin.')", - "assert($('.green-box').css('margin-bottom') === '20px', 'Your green-box class should give the bottom of elements 20px of margin.')" + "assert($('.green-box').css('margin-bottom') === '20px', 'Your green-box class should give the bottom of elements 20px of margin.')", + "assert($('.green-box').css('margin-top') === '40px', 'Your green-box class should give the top of elements 20px of margin.')", + "assert($('.green-box').css('margin-right') === '20px', 'Your green-box class should give the right of elements 20px of margin.')" + ], "challengeSeed": [ "