# Don't require a path in TestAppContext::dispatch_action · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e2bf89b1e878b9fc2a097b2dfd5472b035f4d7f0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e2bf89b1e878b9fc2a097b2dfd5472b035f4d7f0

Requested commit: e2bf89b1e878b9fc2a097b2dfd5472b035f4d7f0

Commit: e2bf89b1e878b9fc2a097b2dfd5472b035f4d7f0

Tree: ace6ab498f098913a0731d0818c52e105953a07a

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Don't require a path in TestAppContext::dispatch_action

Instead, derive it from the presenter. This makes tests easier to write and more reliable since we'll be accurately simulating the actual relationship between parent and child views.

```

## Parents

- [3da8f7f94409354e0985443cfb618b0d6b231ad8](https://git.cafe/gitcafe/zed/commit/3da8f7f94409354e0985443cfb618b0d6b231ad8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e2bf89b1e878b9fc2a097b2dfd5472b035f4d7f0?format=markdown)
