Committed by
GitHub
Merge pull request #359 from gobetti/fixed-item-length-test
Uses the correspondent method in the fixedItemLength test
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -84,7 +84,7 @@ SpecBegin(NSArray_MASAdditions) | @@ -84,7 +84,7 @@ SpecBegin(NSArray_MASAdditions) | ||
84 | [superView addSubview:subject2]; | 84 | [superView addSubview:subject2]; |
85 | NSArray *views = @[ subject1]; | 85 | NSArray *views = @[ subject1]; |
86 | expect(^{ | 86 | expect(^{ |
87 | - [views mas_distributeViewsAlongAxis:MASAxisTypeHorizontal withFixedSpacing:10.0 leadSpacing:5.0 tailSpacing:5.0]; | 87 | + [views mas_distributeViewsAlongAxis:MASAxisTypeHorizontal withFixedItemLength:10.0 leadSpacing:5.0 tailSpacing:5.0]; |
88 | }).to.raiseAny(); | 88 | }).to.raiseAny(); |
89 | 89 | ||
90 | } | 90 | } |
-
Please register or login to post a comment