[rspec-users] Problems with raising errors on a mocked object

Eivind Uggedal eivindu at ifi.uio.no
Tue Aug 7 19:55:50 EDT 2007

I'm trying to mock a object to raise a certain error. By doing so I
get a ArgumentError on ActiveRecord's save! method:


I've tried to debug it but just can't seem to find what I'm doing
wrong. Any help is greatly appreciated.

Eivind Uggedal

More information about the rspec-users mailing list