joshrieken / bamboo_espec

Bamboo assertions for ESpec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

  1. Before opening a pull request, please open an issue first.
  2. Do the usual fork/add/fix/run tests dance, or whatever tickles your fancy. Tests are highly encouraged.
  3. Open a PR.
  4. Treat yourself. You deserve it.

License

See the LICENSE file for license rights and limitations (MIT).

About

Bamboo assertions for ESpec

License:MIT License


Languages

Language:Elixir 100.0%