瀏覽代碼

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();
     
 }