Created
October 14, 2014 02:50
-
-
Save keokilee/2934f235c0a6cd8ae3a4 to your computer and use it in GitHub Desktop.
Kiwi Basic Spec
This file contains 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
#import <Kiwi/Kiwi.h> | |
#import “ViewController.h” | |
SPEC_BEGIN(ViewControllerSpec) | |
describe(@”ViewController”, ^{ | |
let(controller, ^{return [[ViewController alloc] init];}); | |
beforeEach(^{ | |
[controller viewDidLoad]; | |
); | |
it(@”initializes an empty list of incidents”, ^{ | |
[[[controller incidents] should] beEmpty]; | |
}); | |
}); | |
SPEC_END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment