cucumber-mailcatcher 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9a728f654453fe2b02048aa38a0d377879d8afd
|
4
|
+
data.tar.gz: 927d5adc1d1be8060f151d0a6f8a7974053f0d43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5c86650a566b34397b960423c7f3b1314416aeee72478c155493600a9a7e5a59539cf8cd000a32ede3d26cc9b06155c58a545454c67fa137d8b8d63dd7362b0
|
7
|
+
data.tar.gz: bd65ce2273abb89f1f410cbb7ff5ff5b3a7af214afe30c044eff823d5276e3123f97f3555abe478b22b6344ab2e2bba0ead10518991809639d6e8c011eaabd56
|
@@ -1,24 +1,24 @@
|
|
1
|
-
|
1
|
+
Then(/^I should receive (\d+) email from "(.*?)"$/) do |count, address|
|
2
2
|
messages = subject.get_messages_from_email address
|
3
3
|
expect(messages.length).to be count
|
4
4
|
end
|
5
5
|
|
6
|
-
|
6
|
+
Then(/^I should receive (\d+) email sent to "(.*?)"$/) do |count, address|
|
7
7
|
messages = subject.get_messages_to_email address
|
8
8
|
expect(messages.length).to be count
|
9
9
|
end
|
10
10
|
|
11
|
-
|
11
|
+
Then(/^I should receive (\d+) email with subject "(.*?)"$/) do |count, subject|
|
12
12
|
messages = subject.get_messages_with_subject subject
|
13
13
|
expect(messages.length).to be count
|
14
14
|
end
|
15
15
|
|
16
|
-
|
16
|
+
Then(/^I should receive (\d+) email with a html body containing "(.*?)"$/) do |count, body|
|
17
17
|
messages = subject.get_messages_with_html_body body
|
18
18
|
expect(messages.length).to be count
|
19
19
|
end
|
20
20
|
|
21
|
-
|
21
|
+
Then(/^I should receive (\d+) email with a plain body containing "(.*?)"$/) do |count, body|
|
22
22
|
messages = subject.get_messages_with_plain_body body
|
23
23
|
expect(messages.length).to be count
|
24
24
|
end
|