Procházet zdrojové kódy

Uses the correspondent method in the fixedItemLength test

Marcelo Gobetti před 9 roky
rodič
revize
fe6d0b710d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();
     
 }