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: 997d030113fbd54c5849495a36e154c037089af1
4
- data.tar.gz: 94d4900d6047da4c69ee310b4d6d1564a966a243
3
+ metadata.gz: a9a728f654453fe2b02048aa38a0d377879d8afd
4
+ data.tar.gz: 927d5adc1d1be8060f151d0a6f8a7974053f0d43
5
5
  SHA512:
6
- metadata.gz: 52bead90e1ec4ff2507da3f3b0f2fab8210fc30a341f5916d15987d97ee1faf0a49752807c1f3bfb2c5e207815f69e0f1223bbc1af5049569a4dd9980dc5a4a1
7
- data.tar.gz: 153662056ec1da6f513068b5a403912e81ef7fba0a98c50a4ff0b2a7600fa3cdacc32c6013c3817bae89c1bab129e9e7cfb6e603aa603f9440fd997e954560ab
6
+ metadata.gz: b5c86650a566b34397b960423c7f3b1314416aeee72478c155493600a9a7e5a59539cf8cd000a32ede3d26cc9b06155c58a545454c67fa137d8b8d63dd7362b0
7
+ data.tar.gz: bd65ce2273abb89f1f410cbb7ff5ff5b3a7af214afe30c044eff823d5276e3123f97f3555abe478b22b6344ab2e2bba0ead10518991809639d6e8c011eaabd56
@@ -1,24 +1,24 @@
1
- Given(/^I should receive (\d+) email from "(.*?)"$/) do |count, address|
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
- Given(/^I should receive (\d+) email sent to "(.*?)"$/) do |count, address|
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
- Given(/^I should receive (\d+) email with subject "(.*?)"$/) do |count, subject|
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
- Given(/^I should receive (\d+) email with a html body containing "(.*?)"$/) do |count, body|
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
- Given(/^I should receive (\d+) email with a plain body containing "(.*?)"$/) do |count, body|
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
@@ -2,6 +2,6 @@ module Cucumber
2
2
  module Mailcatcher
3
3
  NAME = "cucumber-mailcatcher"
4
4
  FOLDER = "cucumber/mailcatcher"
5
- VERSION = "0.2"
5
+ VERSION = "0.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-mailcatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson