Question.

Currently with this test:

 instance.splatted3().should raise_error(ArgumentError)

if it's broken, and returns [] instead of raising appropriately,
currently the error reported is:

expected ArgumentError, got #<NoMethodError: undefined method `call'
for []:Array>

shouldn't this have been reported as

expected ArgumentError, got []

?
Much thanks.
=r
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to