Teach Me To Code » Screencasts

RSpec Subjects

05.05.2010 - By Charles Max WoodPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

RSpec provides an extremely concise way of representing simple tests to be called on new instances of a class or on explicitly defined receiver objects. You can do this by using 'subjects' either as defined by the 'describe' or the 'subject' methods.

Download 38 MB

Download (iphone & ipod) 18.2 MB

More episodes from Teach Me To Code » Screencasts