Andrei Maxim
2011-Feb-15 11:11 UTC
[rspec-users] 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
David Chelimsky
2011-Feb-15 12:56 UTC
[rspec-users] Not loading RSpec::Rails::MailerExampleGroup
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
Andrei Maxim
2011-Feb-15 13:50 UTC
[rspec-users] Not loading RSpec::Rails::MailerExampleGroup
On 2011-02-15 14:56:52 +0200, David Chelimsky said:> On Feb 15, 2011, at 9:11 AM, Andrei Maxim wrote: > >> 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, > DavidVery nice, thanks! Andrei