[rspec-users] Newbie: lambda do...end.should change(Model, :count).by(1). Doesn''t work

Craig Demyanovich
2008-05-10T13:40:16Z

A syntax note from the RSpec docs: "blocks passed to should change and
should_not change must use the {} form (do/end is not supported)."

http://rspec.info/rdoc/classes/Spec/Matchers.html#M000386

Regards,
Craig