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: 77a8bcce717891fae6839e7f0c4812c16a1f2829
4
- data.tar.gz: c368c81e98bcc771b5874964c5dd0f4b312e21c9
3
+ metadata.gz: 997d030113fbd54c5849495a36e154c037089af1
4
+ data.tar.gz: 94d4900d6047da4c69ee310b4d6d1564a966a243
5
5
  SHA512:
6
- metadata.gz: b7a4ee7939396498e9759d2f21dd4de1cfeadf16ee94170cd344629284cb133896a3a0f9fe1c8bcd0235d5a8a507e3b54e6afc9f32949e136a1562e92c351703
7
- data.tar.gz: 77de4406d2e13080360ee0caa451274528e2fa6b7457e3e08064e91ab6b0f24c553177ddc23074176e3d9a9d8249fc33cc06c29ba7c4b6a146dd0e0a7dc723d7
6
+ metadata.gz: 52bead90e1ec4ff2507da3f3b0f2fab8210fc30a341f5916d15987d97ee1faf0a49752807c1f3bfb2c5e207815f69e0f1223bbc1af5049569a4dd9980dc5a4a1
7
+ data.tar.gz: 153662056ec1da6f513068b5a403912e81ef7fba0a98c50a4ff0b2a7600fa3cdacc32c6013c3817bae89c1bab129e9e7cfb6e603aa603f9440fd997e954560ab
@@ -1,24 +1,24 @@
1
- Given(/^I should receive "([0-9])" email from "([^"]*)"/) do |count, address|
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 "([0-9])" email sent to "([^"]*)"/) do |count, address|
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 "([0-9])" email with subject "([^"]*)"/) do |count, subject|
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 "([0-9])" email with a html body containing "([^"]*)"/) do |count, body|
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 "([0-9])" email with a plain body containing "([^"]*)"/) do |count, body|
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
@@ -2,6 +2,6 @@ module Cucumber
2
2
  module Mailcatcher
3
3
  NAME = "cucumber-mailcatcher"
4
4
  FOLDER = "cucumber/mailcatcher"
5
- VERSION = "0.1"
5
+ VERSION = "0.2"
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.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson