small medium large xlarge

Generic-user-small
13 Sep 2016, 09:01
Laura (46 posts)

I get this error after creating an order and checking out…

Circular dependency detected while autoloading constant ApplicationMailer

Any ideas??

regards

Laura

Generic-user-small
13 Sep 2016, 13:25
Laura (46 posts)

Tests do not pass in Ch 13. I have tried to find out, could not.


Error:
OrderMailerTest#test_shipped:
RuntimeError: Circular dependency detected while autoloading constant ApplicationMailer
    app/mailers/application_mailer.rb:1:in `<top (required)>'
    app/mailers/order_mailer.rb:1:in `<top (required)>'
    test/mailers/order_mailer_test.rb:13:in `block in <class:OrderMailerTest>'

regards

Laura

You must be logged in to comment