Skip to content

Commit

Permalink
fix name of parameter to setValue:forKey:
Browse files Browse the repository at this point in the history
  • Loading branch information
eraserhd committed Dec 11, 2012
1 parent 973b97a commit ca41894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kiwi/KWMock.m
Expand Up @@ -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];
}
Expand Down

0 comments on commit ca41894

Please sign in to comment.