Hey all!
Is it possible to implement =|> pipeline operator which behaves as:
conn = conn |> put_req_header( "accept", "application/json")
|> get( page_path( conn, :index))
is equivalent to:
conn =|> put_req_header( "accept", "application/json")
|> get( page_path( conn, :index))
It's a little bit annoying to write the conn = conn |> … construction
in phoenix tests over and over again.
————————
Valentin Vasilev