Created
May 27, 2013 12:38
-
-
Save mxey/5656852 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // MCCChoiceGroupDataControllerSpec.m | |
| // Chance Choice | |
| // | |
| // Created by Maximilian Gaß on 27.05.13. | |
| // Copyright (c) 2013 Maximilian Gaß. All rights reserved. | |
| // | |
| #import "Kiwi.h" | |
| #import "MCCChoiceDataController.h" | |
| SPEC_BEGIN(MCCChoiceDataControllerSpec) | |
| describe(@"MCCChoiceDataController", ^{ | |
| __block MCCChoiceDataController *dataController; | |
| context(@"a new instance", ^{ | |
| beforeEach(^{ | |
| dataController = [[MCCChoiceDataController alloc] init]; | |
| }); | |
| it(@"has no choice groups", ^{ | |
| [[theValue(dataController.choiceGroupCount) should] equal:theValue(0)]; | |
| }); | |
| }); | |
| }); | |
| SPEC_END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment