Skip to content

Instantly share code, notes, and snippets.

@petyosi
Created November 4, 2009 10:19
Show Gist options
  • Save petyosi/225949 to your computer and use it in GitHub Desktop.
Save petyosi/225949 to your computer and use it in GitHub Desktop.
Feature: sending emails through Postmark API
In order to communicate effectively with the world
My application should be able to deliver emails through the postmark API
Background:
Given the service listens to "http://postmarkapp.local"
And I have an account with api key "mykey"
Scenario: Sending simple email
Given I send the following email:
| From | [email protected] |
| To | [email protected] |
| Subject | About that last night |
| Body | Sorry for not coming |
Then the service should receive an email on behalf of "mykey" for "[email protected]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment