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.
Resolves https://github.com/germsvel/phoenix_test/issues/32
What changed?
We add two new assertion helpers to assert on the current path:
assert_path
andrefute_path
. Both helpers have a 2 and 3 arity versions. The 3-arity version takes aquery_params
key to assert on the query params.We do not handle other optional arguments (such as
host
orscheme
), though we could see this being extensible in the future with those options.