[rspec-users] Testing layouts with RSpec on Rails

Matt Patterson matt-lists at reprocessed.org
Tue Oct 9 14:29:45 EDT 2007


Hey guys,

Does anyone have any wisdom to share on the subject of speccing Rails  
layouts?

Most of it's plain old view specs stuff, but are there sensible ways   
to verify things like the yield call? (Mocking doesn't catch that)

Thanks,

Matt

-- 
   Matt Patterson | Design & Code
   <matt at reprocessed org> | http://www.reprocessed.org/




More information about the rspec-users mailing list