aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Foundation/GTMNSObject+KeyValueObservingTest.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Foundation/GTMNSObject+KeyValueObservingTest.m b/Foundation/GTMNSObject+KeyValueObservingTest.m
index 03cbebf..a8ffafc 100644
--- a/Foundation/GTMNSObject+KeyValueObservingTest.m
+++ b/Foundation/GTMNSObject+KeyValueObservingTest.m
@@ -66,7 +66,7 @@
STAssertEquals(count_, (int32_t)1, nil);
}
-- (void)testStopObservingKeyPaths {
+- (void)testStopObservingAllKeyPaths {
count_ = 0;
[dict_ gtm_addObserver:self
forKeyPath:@"key"
@@ -76,7 +76,7 @@
expectedValue_ = @"bar";
[dict_ setObject:expectedValue_ forKey:@"key"];
STAssertEquals(count_, (int32_t)1, nil);
- [self gtm_stopObservingKeyPaths];
+ [self gtm_stopObservingAllKeyPaths];
[dict_ setObject:@"foo" forKey:@"key"];
STAssertEquals(count_, (int32_t)1, nil);
}