]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Converted Map Deep Get test to True 8018/head
authorColin Marshall <colin.michael.marshall@gmail.com>
Wed, 27 Jan 2016 01:59:05 +0000 (18:59 -0700)
committerColin Marshall <colin.michael.marshall@gmail.com>
Mon, 1 Feb 2016 22:19:26 +0000 (15:19 -0700)
test/sass/_value.scss

index 8e3be62673e561e0f4755fb0621ddb07214f811c..7b30179e728b35b69f5b60bc12dc59db567f3dbb 100755 (executable)
     @include assert-equal($defaultColor, black, $defaultDescription);
   }
 
-  // TODO: Add spec for pow()
-}
-
-@include describe('Map Deep Get') {
-  @include it('gets a value from a nested map') {
+  @include test('Map Deep Get [function]') {
     $map: (
       one: (
         two: 'three',
       ),
     );
-
-    @include should(expect(map-deep-get($map, one, two)), to(be('three')));
+    $expect: 'three';
+    
+    @include assert-equal(map-deep-get($map, one, two), $expect,
+      'Gets a value from a nested map');
   }
-}
 
-// TODO: Add spec for pow()
+  // TODO: Add spec for pow()
+}