should "return weekly hours" do
hours = @project.recent_weekly_hours
hours.size.should == 52
end
I was expecting it to - and thought I had seen it somewhere - but I
get "undefined method 'should' "
thanks
nick
--
Individuals over processes. Interactions over tools.
Agile Rails training from thoughtbot, the makers of Clearance, Shoulda, & Factory Girl:
http://thoughtbot.com/services/training
The Shoulda group:
http://groups.google.com/group/shoulda
To post to this group, send email to
sho...@googlegroups.com
To unsubscribe from this group, send email to
shoulda+u...@googlegroups.com