search for: dummy_method_raises_except

Displaying 1 result from an estimated 1 matches for "dummy_method_raises_except".

2009 Aug 10
2
testing exception notification plugin with rspec
...ent mail to myemail-NbxmIS7vw0kAvxtiuMwx3w@public.gmane.org but the spec fails : ActionMailer::Base.delivery_method = ''test'' ActionMailer::Base.perform_deliveries = false ActionMailer::Base.deliveries = [] @size_before = ActionMailer::Base.deliveries.count lambda { get ''dummy_method_raises_exception'' }.should raise_error (RuntimeError) ActionMailer::Base.deliveries.count.should eql(@size_before + 1) <==== here I got 0 and not 1 Does someone have an idea about this problem? Thank you by advance -Yoann