Not loading RSpec::Rails::MailerExampleGroup

Hi all,

I’m working on Rails 3 application with ActiveRecord and ActionMailer
stripped out (I’ve commented out the respective lines in
config/application.rb), but I’m running into some problems when I’m
running the specs either via the rake spec command or by running
autotest.

I could not find a way to tell RSpec to not load the
ActionMailer-related modules and classes. Is there a setting in the
configuration that will do that? Or is this a bug?

Thanks,
Andrei

On Feb 15, 2011, at 9:11 AM, Andrei M. wrote:

Hi all,

I’m working on Rails 3 application with ActiveRecord and ActionMailer stripped
out (I’ve commented out the respective lines in config/application.rb), but I’m
running into some problems when I’m running the specs either via the rake spec
command or by running autotest.

I could not find a way to tell RSpec to not load the ActionMailer-related
modules and classes. Is there a setting in the configuration that will do that? Or
is this a bug?

This was fixed in rspec-rails-2.5
(http://relishapp.com/rspec/rspec-rails/v/2-5/file/changelog).

Cheers,
David

On 2011-02-15 14:56:52 +0200, David C. said:

David
Very nice, thanks!

Andrei