Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix name of parameter to setValue:forKey:

  • Loading branch information...
commit ca41894cc36a146a920260b6f67f89980de66d1a 1 parent 973b97a
@eraserhd eraserhd authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Kiwi/KWMock.m
View
4 Kiwi/KWMock.m
@@ -607,10 +607,10 @@ - (id)valueForKey:(NSString *)key {
}
}
-- (void)setValue:(id)value forKey:(NSString *)keyPath {
+- (void)setValue:(id)value forKey:(NSString *)key {
KWMessagePattern *messagePattern = [KWMessagePattern messagePatternWithSelector:_cmd];
[self expectMessagePattern:messagePattern];
- NSInvocation *invocation = [NSInvocation invocationWithTarget:self selector:_cmd messageArguments:&value, &keyPath];
+ NSInvocation *invocation = [NSInvocation invocationWithTarget:self selector:_cmd messageArguments:&value, &key];
[self processReceivedInvocation:invocation];
}

0 comments on commit ca41894

Please sign in to comment.
Something went wrong with that request. Please try again.