dimanche 26 juin 2016

write a spec for mandrill-api sending template email

I'm new to ruby and I've been trying to write a spec for simple function that sends email via mandrill-api (which is connected to Mailchimp).

I'm not using ActionMailer. only the mandrill-api gem.

I'm a bit lost, what's the perfect approach for this ?

I tried VCR, but I don't know how to make it works.

Aucun commentaire:

Enregistrer un commentaire