Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PhoenixTest.assert_path and refute_path #60

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Add PhoenixTest.assert_path and refute_path #60

merged 1 commit into from
Apr 10, 2024

Commits on Apr 10, 2024

  1. Add PhoenixTest.assert_path and refute_path

    What changed?
    ============
    
    We add two new assertion helpers to assert on the current path:
    `assert_path` and `refute_path`. Both helpers have a 2 and 3 arity
    versions. The 3-arity version takes a `query_params` key to assert on
    the query params.
    
    We do not handle other optional arguments (such as `host` or `scheme`),
    though we could see this being extensible in the future with those
    options.
    germsvel committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    6dbcee2 View commit details
    Browse the repository at this point in the history