Created
July 11, 2014 13:21
-
-
Save maxehmookau/d147e45c643dc7467344 to your computer and use it in GitHub Desktop.
Objective-C BDD
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
#import "Kiwi.h" | |
#import "RPNStack.h" | |
SPEC_BEGIN(RPNStackSpec) | |
describe(@"The stack", ^{ | |
context(@"when created", ^{ | |
RPNStack *stack = [[RPNStack alloc] init]; | |
it(@"is not nil.", ^{ | |
[[stack shouldNot] beNil]; | |
}); | |
pending(@"is empty.", ^{ | |
}); | |
}); | |
context(@"when it contains only the number 3", ^{ | |
}); | |
}); | |
SPEC_END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment