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 <[EMAIL PROTECTED]> 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: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
