summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/DevAPISpecs/SDLMenuCellSpec.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLinkTests/DevAPISpecs/SDLMenuCellSpec.m')
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLMenuCellSpec.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuCellSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuCellSpec.m
index fd4349887..f6d982a57 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuCellSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuCellSpec.m
@@ -93,19 +93,19 @@ describe(@"a menu cell", ^{
});
});
- describe(@"check cell eqality", ^{
+ describe(@"check cell equality", ^{
it(@"should compare cells and return true if cells equal", ^{
testCell = [[SDLMenuCell alloc] initWithTitle:someTitle secondaryText:someSecondaryTitle tertiaryText:someTertiaryTitle icon:nil secondaryArtwork:someSecondaryArtwork submenuLayout:testLayout subCells:@[]];
testCell2 = [[SDLMenuCell alloc] initWithTitle:someTitle secondaryText:someSecondaryTitle tertiaryText:someTertiaryTitle icon:nil secondaryArtwork:someSecondaryArtwork submenuLayout:testLayout subCells:@[]];
- expect([testCell isEqual:testCell2]).to(equal(true));
+ expect([testCell isEqual:testCell2]).to(beTrue());
});
it(@"should compare cells and return false if not equal ", ^{
testCell = [[SDLMenuCell alloc] initWithTitle:@"True" secondaryText:someSecondaryTitle tertiaryText:someTertiaryTitle icon:nil secondaryArtwork:someSecondaryArtwork submenuLayout:testLayout subCells:@[]];
testCell2 = [[SDLMenuCell alloc] initWithTitle:@"False" secondaryText:nil tertiaryText:nil icon:nil secondaryArtwork:nil submenuLayout:testLayout subCells:@[]];
- expect([testCell isEqual:testCell2]).to(equal(false));
+ expect([testCell isEqual:testCell2]).to(beFalse());
});
it(@"should compare cells and return true if cells equal", ^{
@@ -115,7 +115,7 @@ describe(@"a menu cell", ^{
testCell2 = [[SDLMenuCell alloc] initWithTitle:someTitle icon:nil submenuLayout:testLayout subCells:@[]];
#pragma clang diagnostic pop
- expect([testCell isEqual:testCell2]).to(equal(true));
+ expect([testCell isEqual:testCell2]).to(beTrue());
});
it(@"should compare cells and return false if not equal ", ^{
@@ -125,7 +125,7 @@ describe(@"a menu cell", ^{
testCell2 = [[SDLMenuCell alloc] initWithTitle:@"False" icon:nil submenuLayout:testLayout subCells:@[]];
#pragma clang diagnostic pop
- expect([testCell isEqual:testCell2]).to(equal(false));
+ expect([testCell isEqual:testCell2]).to(beFalse());
});
});
});