Skip to content

Commit

Permalink
Merge branch 'hotfix/1.0.6' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
anagromataf committed May 20, 2013
2 parents 5dd320d + 1dc2a9b commit 3481567
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions SenTestingKitAsync.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SenTestingKitAsync"
s.version = "1.0.5"
s.version = "1.0.6"
s.summary = "Extension for the SenTestingKit for asynchronous testing."
s.homepage = "https://github.com/nxtbgthng/SenTestingKitAsync"
s.license = {
Expand All @@ -18,7 +18,7 @@ Pod::Spec.new do |s|
LICENSE
}
s.author = { "Tobias Kräntzer" => "[email protected]" }
s.source = { :git => "https://github.com/nxtbgthng/SenTestingKitAsync.git", :tag => "1.0.5" }
s.source = { :git => "https://github.com/nxtbgthng/SenTestingKitAsync.git", :tag => "1.0.6" }
s.source_files = 'SenTestingKitAsync/SenTestingKitAsync.{h,m}'
s.frameworks = 'SenTestingKit'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(inherited)" "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"' }
Expand Down
9 changes: 5 additions & 4 deletions SenTestingKitAsync/SenTestingKitAsync.m
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,13 @@ - (void)performTest:(SenTestRun *)aRun withCompletionHandler:(SenTestCompletionH
{
__unsafe_unretained SenTestCase *weak = self;

__block NSException *exception = nil;

[weak setValue:aRun forKey:@"run"];
[weak setUp];

[self setUpWithCompletionHandler:^{

NSException *exception = nil;

[weak setValue:aRun forKey:@"run"];
[weak setUp];
[aRun start];

if ([NSStringFromSelector([[weak invocation] selector]) hasSuffix:@"Async"]) {
Expand Down

0 comments on commit 3481567

Please sign in to comment.