rails plugin view helpers and rspec

May 25, 2009

RSpec for View Helpers

What do you do when some behavior depends on RAILS_ENV?

Stub tip

If you stub something and it appears not to be working, check when your module, class or method is loaded or created. Dynamic languages can be challenging. (thanks David)

References

For more information, see

These lessons learned while developing RSpec examples for a bug fix in openlaszlo_plugin with help from Zach Moazeni, RailsBridge mentor, and David Chelmsky, on the RSpec forum.