Mailing

Card: https://trello.com/c/zp8ibqBS/11-email-notifications-no-configuration-initially-send-an-email-notification-to-everyone-whenever-a-board-is-created-a-card-is-crea
:+1:

On Sunday, July 20, 2014, Antonio Scandurra <notifications@github.com>
wrote:

> In app/controllers/cards_controller.rb:
>
> > @@ -9,6 +9,7 @@ def create
> >          "new_card",
> >          id: @card.id, list_id: @card.list_id, html: card_html
> >        )
> > +      CardMailer.new_card(@card).deliver
>
> Also. One could test that his application is behaving correctly sending
> the email, but we actually didn't add any logic to mail sending (e.g. It is
> a straightforward call to the rails library) and thus it does not deserve
> any regression test because it wouldn't catch anything useful.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/task-planner/task-planner-web/pull/10/files#r15151927>
> .
>


-- 
Ali