ソースを参照

Uses the correspondent method in the fixedItemLength test

Marcelo Gobetti 9 年 前
コミット
fe6d0b710d
1 ファイル変更1 行追加1 行削除
  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();
     
 }