public
Description: Collection of rspec matchers and cucumber steps for testing email in a ruby app using ActiveMailer or Pony
Homepage: http://gemcutter.org/gems/email_spec
Clone URL: git://github.com/bmabey/email-spec.git
Click here to lend your support to: email-spec and make a donation at www.pledgie.com !
bmabey (author)
Thu Oct 08 21:49:52 -0700 2009
commit  f1e666de86bc6b5388039f28c19795abbd9c7708
tree    2dca4c104cc022f730d41ef172769186fa6a6f03
parent  02e67200d66e0ea7a7827c9ef9db196ea3653bf1
email-spec / History.txt
100644 136 lines (95 sloc) 4.496 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
(In Git)
 
 === New features
 === Bufixes
 
== 0.3.5 2009-09-30 The Pony Release!
 
 === New features
 * Support for Pony mailer library. (Rob Holland)
 
== 0.3.4 2009-09-26
 
=== Bugfixes
 * Typo and logic fixes for DeliverFrom matcher. (Yury Kotlyarov)
 
 == 0.3.3 2009-09-18
 
 === New features
 * DeliverFrom matcher. i.e. email.should deliver_from(blah) or email.should be_delivered_from(blah) (Diego Carrion)
 
 == 0.3.2 2009-09-10
 
 === New features
  * Support for delayed_job. (Kieran Pilkington)
 
 == 0.3.1 2009-08-19
This release is a general refactoring of the steps and helpers.
The example rails app was also updated to use the lateset rails and webrat. It also takes advantages
and the newer step definistions including the new third-person forms.
 
Some of the generated steps are being removed in favor of some of the newer ones. The older ones
will remain until 0.4.0 but will issue deprecation warnings.
 
Big shoutout to Kieran Pilkington who did the majority of work for this release.
 
 == 0.3.0 2009-08-13
 
 === New features
  * New helper #last_email_address which returns the last address used by email-spec for that scenario. (Ben Mabey)
  * Steps now support third person language. (Kieran P)
  * "[email] should receive ... " now supports "an" instead of just an integer. (Kieran Pilkington)
    With these changes, the following is now possible:
 
      Then "jack@example.com" should receive an email
      When they open the email
      Then they should see "Account has been created" in the subject
 
  * Additional default steps (Balint Erdi)
    * Then /^I should not receive any emails?$/
    * When %r{^"([^"]*?)" opens? the email$} do |address|
 
 === Bufixes
 
 == 0.2.1 2009-5-29
 
 === New Features
  * BCC RSpec matcher. (Josh Nichols)
 
 === Bugfixes
  * Include BCCed and CCed messsages in the mailbox. (Jakub KosiƄski)
 
== 0.2.0 2009-6-08
No changes. Bumping version for RubyForge release.
 
 
 == 0.1.4 2009-5-29
 
 === Bufixes
  * Require deliveries in the helpers so it doesn't blow up with RSpec. (Craig Webster)
 
 == 0.1.3 2009-4-15
 
 === Bufixes
  * Fixed regular expressions in genertaed steps. (Ben Mabey)
  * World semantics changed in cucumber (0.2.3.2), email_spec now uses the new API. (Hector Morales)
 
 == 0.1.2 2009-4-05
 
 === New features
 === Bufixes
  * Actually added the renamed generators to the gem so people could use it! D'oh! (Ben Mabey)
    * You can either use "./script generate email_spec" or "rubigen rails email_spec"
  * Removed Rake tasks from example application to prevent conflicts when used as a plugin. (Ben Mabey)
 
 == 0.1.1 2009-3-26
 === New features
  * Switched dir structure over to support rubigen. (Dr. Nic)
 
 === Bufixes
 
 == 0.1.0 2009-3-25
 === New features
  * Change Rakefile to run all specs and features, as well as prepare the db (Mischa Fierer)
  * Allow for array to be passed into deliver_to matcher. (Diego Carrion)
  * Added matcher for checking if a collection of emails includes an email with a particular subject (Luke Melia, Noah Davis)
  * Introduced hook to convert objects to email addresses (Luke Melia and Lee Bankewitz)
 
    This allows you, in your step matcher, to say something like:
    maillbox_for(some_user)
 
    Use it in your cucumber env.rb like so:
 
      EmailSpec::AddressConverter.instance.conversion do |input|
       if input.is_a?(User)
         input.email
       else
         input
       end
      end
 
=== Bufixes
 * Revert parse_email_for_link helper method to allow for text links as well as explicit link finding. (Mischa Fierer)
 * Isolated variances between using email-spec with an ARMailer project. (Luke Melia)
 
 
== 0.0.9 2009-2-15
 === New features
  * have_body_text, have_header matchers (Luke Melia)
  * EmailViewer - opens all sent emails in a given scenario when the environment variables are set. (Luke Melia)
  * Added compatibility with using ARMailer in test mode. (Luke Melia)
 === Bugfixes
  * set_current_email now works with multiple addresses in To field. (Brian McManus, Ben Mabey)
 
== 0.0.7 2009-1-20
 === New features
  * have_subject matcher (Ben Mabey)
 
== 0.0.6 2008-12-23
 === New features
  * Improved RSpec documentation and refactorings. (Ben Mabey)
 === Bugfixes
  * Removed sample app Rake Tasks to have it play nice with environments that use Cucumber as plugin- not gem. (Ben Mabey, Ivor- on github)
 
== 0.0.5 2008-12-18
  * Initial release - see this post for full history and contributors: http://www.benmabey.com/2008/12/18/github-rocks/