cucumber-mailcatcher 0.1 → 0.2
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: 997d030113fbd54c5849495a36e154c037089af1
|
4
|
+
data.tar.gz: 94d4900d6047da4c69ee310b4d6d1564a966a243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52bead90e1ec4ff2507da3f3b0f2fab8210fc30a341f5916d15987d97ee1faf0a49752807c1f3bfb2c5e207815f69e0f1223bbc1af5049569a4dd9980dc5a4a1
|
7
|
+
data.tar.gz: 153662056ec1da6f513068b5a403912e81ef7fba0a98c50a4ff0b2a7600fa3cdacc32c6013c3817bae89c1bab129e9e7cfb6e603aa603f9440fd997e954560ab
|
@@ -1,24 +1,24 @@
|
|
1
|
-
Given(/^I should receive
|
1
|
+
Given(/^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
|
-
Given(/^I should receive
|
6
|
+
Given(/^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
|
-
Given(/^I should receive
|
11
|
+
Given(/^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
|
-
Given(/^I should receive
|
16
|
+
Given(/^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
|
-
Given(/^I should receive
|
21
|
+
Given(/^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
|