Skip to content

Instantly share code, notes, and snippets.

@mxey
Created May 27, 2013 12:38
Show Gist options
  • Select an option

  • Save mxey/5656852 to your computer and use it in GitHub Desktop.

Select an option

Save mxey/5656852 to your computer and use it in GitHub Desktop.
//
// 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