ESpec Phoenix Helpers
Assertions and helpers for use with espec_phoenix.
These were originally part of the core project but were extracted out to keep that project thin.
Changes from the Original Helpers
The only change is that ESpec.Phoenix.Views.Helpers.render/3 has been renamed to ESpec.Phoenix.Views.Helpers.render_template/3 to avoid conflicting with Phoenix.View.render/3.
Installation
-
Add
espec_phoenix_helpersto your list of dependencies inmix.exs:
```elixir
def deps do
[{:espec_phoenix_helpers, "~> 0.3.1", only: :test}]
end
```Setup
You'll need to manually import the helpers and assertions that you want in your espec_phoenix_extend.ex.
Contributing
- Before opening a pull request, please open an issue first.
- Do the usual fork/add/fix/run tests dance, or whatever tickles your fancy. Tests are highly encouraged.
- Open a PR.
- Treat yourself. You deserve it.