Testing Mailing with Mocks
Ruby as a language provides two facilities that, when used together, makes it easy to ensure that your code is doing what its supposed to. The first is the [Unit Test] library that is part of Ruby’s [http://www.ruby-doc.org/stdlib/]. The other is the ability to
http://wiki.rubyonrails.org/rails/pages/HowToTestActionMailersAndControllers
http://manuals.rubyonrails.com/read/chapter/64
Comments
Comments are closed