Finally solved the problem. Even though the application is Rails
2.3.5 it was started on a much earlier version and the view files were
using the old rhtml extensions. The newer auto format detection uses
html.erb, or in the case of the mailer, likes
file_name.text.html.erb. All I had to do was
Dave
Thanks for looking at this. I really appreciate it.
Here is the method being called:
144 # Sign up a new user with a default role of USER and with a state
of pending.
145 # The user must activate their account via e-mail before they can
login
146 def self.create_from_signup(params = {} )
On Wed, Dec 9, 2009 at 7:48 PM, Brad wrote:
> No one was able to help me with the last post so I thought I would try
> again with more details. I am having problems with specs that invoke
> the mailer. My User model has a method that invokes a mailer as part
> of the create_from_signup method.
>
No one was able to help me with the last post so I thought I would try
again with more details. I am having problems with specs that invoke
the mailer. My User model has a method that invokes a mailer as part
of the create_from_signup method.
First an example of the test that passes in my spec/m