December 2011
1 post
3 tags
RSpec Rails be_a_new matcher
Passes if the object is a Widget and returns true for new_record?: object.should be_a_new(Widget)
Dec 30th
20 notes