[Radiant] mailer_behavior_test

Sean Cribbs seancribbs at gmail.com
Fri Nov 10 08:08:16 CST 2006


Todd,

I'm not all that familiar with the mailer behavior, but consider changing
that line to read like so:

require File.join(RAILS_ROOT, "test", "test_helper")

Cheers,

Sean Cribbs
seancribbs.com

On 11/9/06, Todd McGrath <mcgrath at supergloo.com> wrote:
>
> Hi Everyone!
>
> First post and wouldn't you know it - it's probably a simple, rookie,
> nuby, etc.
> type of question.  I have searched and read quite a bit before posting.
>
> Trying to debug why the mailer_behavior isn't working for me, so I thought
> to
> run the test that is included with it.
>
> Is it as simple as going to the vendor/plugins/radiant_mailer_behavior
> directory
> and typing 'rake'? or type 'rake test:plugins' from the rails app root
> dir.
>
> In either case, I see the first line in
> vendor/plugins/radiant_mailer_behavior/tests/mailer_behavior_test.rb
>
> require File.dirname(__FILE__) + '/../../test_helper'
>
> But, I don't have a test_helper.rb file in vendor/plugins, so I don't see
> how
> the test will ever work?
>
> Todd
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20061110/46f5aaee/attachment.html


More information about the Radiant mailing list