README.md in email_spec-1.5.0 vs README.md in email_spec-1.6.0
- old
+ new
@@ -129,10 +129,14 @@
include EmailSpec::Matchers
...
end
```
+### Turnip
+
+If you're using [Turnip](https://github.com/jnicklas/turnip), you might be interested in this [conversion of the Cucumber steps into Turnip steps](https://github.com/jmuheim/transition/blob/master/spec/support/steps/email_steps.rb).
+
## Usage
### Cucumber
```gherkin
@@ -327,10 +331,10 @@
And of course you can use the matcher as an assertion:
```ruby
email = UserMailer.create_signup "jojo@yahoo.com", "Jojo Binks"
-assert_must_deliver_to "jojo@yahoo.com", email
+assert_must deliver_to("jojo@yahoo.com"), email
```
## Original Authors