Thanks Zach(great name btw)!
I am using it now and it works great.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Thu, Jan 22, 2009 at 6:32 AM, Zac Zheng wrote:
> I wanted to test that my mailer models all had the correct headers:
> subject, to and from fields.
>
> I had done this by creating this in my spec_helper.rb:
>
> module TestMailerHelpers
> module ClassMethods
>def test_basic_headers
> i
How stupid of me! I was looking at the wrong spec file. My 1st problem
with no method found has now been solved.
If anyone can still recommend a better way of spec'ing these tests,
that'd be great.
Zac Zheng wrote:
> One, I am now receiving 'test_basic_headers' method not found error
> after up