RSpec Subjects




Teach Me To Code » Screencasts (iPhone/iPod) show

Summary: 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