| Index: chrome/browser/ui/cocoa/passwords/passwords_bubble_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller_unittest.mm b/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller_unittest.mm
|
| index fcc927e61e5ec07a607647668516ccb8ccabb9dd..627f91f59163aca0e42b1f8c76a70ca0ed3fc2c5 100644
|
| --- a/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller_unittest.mm
|
| @@ -81,4 +81,11 @@ TEST_F(ManagePasswordsBubbleControllerTest,
|
| [[controller() currentController] class]);
|
| }
|
|
|
| +TEST_F(ManagePasswordsBubbleControllerTest, ClearModelOnClose) {
|
| + SetUpUpdatePendingState(false);
|
| + EXPECT_TRUE(controller().model);
|
| + [controller() close];
|
| + EXPECT_FALSE(controller().model);
|
| +}
|
| +
|
| } // namespace
|
|
|