Skip to content

Commit

Permalink
remove extra, unusued MiddleAgesAssembly instance
Browse files Browse the repository at this point in the history
  • Loading branch information
rhgills committed Nov 13, 2013
1 parent 36ebab3 commit 2d070db
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Tests/Factory/Block/TyphoonBlockComponentFactoryTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,14 @@
@interface TyphoonBlockComponentFactoryTests : TyphoonSharedComponentFactoryTests
@end

@implementation TyphoonBlockComponentFactoryTests {
MiddleAgesAssembly* assembly;
}

@implementation TyphoonBlockComponentFactoryTests

- (void)setUp
{
_componentFactory = [[TyphoonBlockComponentFactory alloc] initWithAssembly:[MiddleAgesAssembly assembly]];
TyphoonPropertyPlaceholderConfigurer* configurer = [[TyphoonPropertyPlaceholderConfigurer alloc] init];
[configurer usePropertyStyleResource:[TyphoonBundleResource withName:@"SomeProperties.properties"]];
[_componentFactory attachPostProcessor:configurer];
assembly = (MiddleAgesAssembly *)_componentFactory;

_exceptionTestFactory = [[TyphoonBlockComponentFactory alloc] initWithAssembly:[ExceptionTestAssembly assembly]];
_circularDependenciesFactory = [[TyphoonBlockComponentFactory alloc] initWithAssembly:[CircularDependenciesAssembly assembly]];
Expand Down

0 comments on commit 2d070db

Please sign in to comment.