Explorar el Código

Uses the correspondent method in the fixedItemLength test

Marcelo Gobetti hace 9 años
padre
commit
fe6d0b710d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Tests/Specs/NSArray+MASAdditionsSpec.m

+ 1 - 1
Tests/Specs/NSArray+MASAdditionsSpec.m

@@ -84,7 +84,7 @@ SpecBegin(NSArray_MASAdditions)
     [superView addSubview:subject2];
     NSArray *views = @[ subject1];
     expect(^{
-        [views mas_distributeViewsAlongAxis:MASAxisTypeHorizontal withFixedSpacing:10.0 leadSpacing:5.0 tailSpacing:5.0];
+        [views mas_distributeViewsAlongAxis:MASAxisTypeHorizontal withFixedItemLength:10.0 leadSpacing:5.0 tailSpacing:5.0];
     }).to.raiseAny();
     
 }