File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66 subject { described_class . new ( resource , request , response ) }
77
88 describe 'handling of exceptions from decision methods' do
9- let ( :exception ) { Exception . new }
9+ let ( :exception ) { RuntimeError . new }
1010
1111 before do
1212 allow ( subject ) . to receive ( Webmachine ::Decision ::Flow ::START ) { raise exception }
2424 end
2525
2626 describe 'handling of exceptions from resource.handle_exception' do
27- let ( :exception ) { Exception . new ( 'an error message' ) }
27+ let ( :exception ) { RuntimeError . new ( 'an error message' ) }
2828
2929 before do
3030 allow ( subject ) . to receive ( Webmachine ::Decision ::Flow ::START ) { raise }
5050 end
5151
5252 describe 'handling of exceptions from resource.finish_request' do
53- let ( :exception ) { Exception . new }
53+ let ( :exception ) { RuntimeError . new }
5454
5555 before do
5656 allow ( resource ) . to receive ( :finish_request ) { raise exception }
You can’t perform that action at this time.
0 commit comments