Skip to content

Instantly share code, notes, and snippets.

@garriguv
Created January 11, 2016 12:45
Show Gist options
  • Save garriguv/973112a964eed09ba2e1 to your computer and use it in GitHub Desktop.
Save garriguv/973112a964eed09ba2e1 to your computer and use it in GitHub Desktop.
#set( $ClassName = $NAME.substring(0, $NAME.indexOf("Spec")) )
#import <Specta/Specta.h>
#import <Specta/Expecta.h>
#import "${ClassName}.h"
@interface ${ClassName} (Spec)
@end
SpecBegin(${ClassName})
__block ${ClassName} *subject;
before(^{
subject = [[${ClassName} alloc] init];
});
describe(@"", ^{
});
SpecEnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment