WARNING: This repo will no longer be maintained by me, @facto. I have moved entirely away from espec in favor of exunit. If you are interested in maintaining this, let me know and I will transfer control to you.
October 10, 2017 ยท View on GitHub
Provides assertions for testing Bamboo with ESpec.
Assertions
-
have_been_delivered -
have_from_address -
have_subject -
have_to_address -
use_text_layout_module -
use_text_layout_template -
use_view_module -
use_view_template
Installation
Add bamboo_espec as a test-only dependency in mix.exs:
def deps do
[
{:bamboo_espec, "~> 0.1.0", only: :test},
]
end
TODO
- Tests for all assertions
- Docs
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.
License
See the LICENSE file for license rights and limitations (MIT).