Re: [rspec-users] testing rails mailers

2008-12-13 Thread Mischa Fierer
I found this useful:

http://madhatted.com/2008/7/10/rspec-real-world-testing



On Thu, Dec 11, 2008 at 7:42 AM, Ivor Paul  wrote:

> Hi Guys
>
> I am trying to spec some rails mailers.
>
> The only info I found was this post
> http://kpumuk.info/ruby-on-rails/testing-mailers-with-rspec/
> by Dmytro Shteflyuk.
>
> I am hoping there is somewhat more on the topic - could someone point
> me towards a resource where I can find more?
>
> Regards
> Ivor
> ___
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Reuse of Cucumber Features

2008-12-13 Thread Steve Molitor
What's the best way to handle a requirement that shows up as a
sub-requirement requirement in other features?  For example let's say users
can enter dates in various forms throughout my application.   There is one
set of global rules specifying the formats in which dates may be entered,
and how they are interpreted.  I put that in one feature.  In various other
features, like 'Create new patient', one can enter dates, like the patient's
birth date.  I want to do something like 'and the date entry shall follow
the normal rules' but I'm not sure how to do that in an example driven way,
without copying and pasting from other features.
Does my question make sense?  Any suggestions?

Thanks.

Steve
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users