Skip to content

Instantly share code, notes, and snippets.

@chris-dannen
Created June 7, 2013 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-dannen/5729497 to your computer and use it in GitHub Desktop.
Save chris-dannen/5729497 to your computer and use it in GitHub Desktop.
describe(@"Sting", ^{
it(@"does not glow, normally", ^{
[[theValue([Sting uniqueInstance].isGlowing) should] beFalse];
});
context(@"there's an orc about", ^{
__block Orc *anOrc = nil;
beforeEach(^{
anOrc = [[Orc alloc] init];
});
it(@"glows", ^{
[[theValue([Sting uniqueInstance].isGlowing) should] beTrue];
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment