Hey,
When I'm testing a controller, I basically test three things. Does it assign the variables the view needs? Does it render the right template? Does it do whatever the action is supposed to do? And when testing mailers I feel it should be basically the same. Does it assign the variables the view needs? Does it render the right template? Does it set the right headers? I don't want to test the actual mail object, the same way I don't want to test the views in controller tests. On the other hand, the mail object IS the output of the mailer, so I don't know. What do you guys think about this?
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users