[rspec-users] Not loading RSpec::Rails::MailerExampleGroup

David Chelimsky dchelimsky at gmail.com
Tue Feb 15 07:56:52 EST 2011


On Feb 15, 2011, at 9:11 AM, Andrei Maxim 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


More information about the rspec-users mailing list