Displaying 1 result from an estimated 1 matches for "6730ce38".
2008 May 06
2
Can you use RSpec to test initializers?
Hi there!
I''m trying to spec out some code that will set the smtp_settings in a
custom ActiveMailer object. Basically I want to check that if my
configuration object has the right smtp_server, that the ActiveMailer
object gets set up correctly. So, my spec looks like this:
it "uses smtp server if config says so" do