spec/ios/memory_leak_spec.rb in teacup-2.1.11 vs spec/ios/memory_leak_spec.rb in teacup-2.1.12

- old
+ new

@@ -17,11 +17,10 @@ describe "Memory leaks" do tests MemoryLeakController def controller unless @controller - puts("=============== memory_leak_spec.rb line #{__LINE__} ===============") root = UIViewController.new @controller = UINavigationController.alloc.initWithRootViewController(root) end @controller @@ -29,10 +28,9 @@ it "should dealloc after being popped from UINavigationController" do detector = LeakDetector.new memory_leak = MemoryLeakController.new - p memory_leak.view NSNotificationCenter.defaultCenter.addObserver(detector, selector: :'did_dealloc:', name: MemoryLeakController::DidDeallocNotification, object: memory_leak)