Skip to content

Instantly share code, notes, and snippets.

@maxehmookau
Created July 11, 2014 13:21
Show Gist options
  • Save maxehmookau/d147e45c643dc7467344 to your computer and use it in GitHub Desktop.
Save maxehmookau/d147e45c643dc7467344 to your computer and use it in GitHub Desktop.
Objective-C BDD
#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