spec/routine_spec.rb in lev-4.2.0 vs spec/routine_spec.rb in lev-4.3.0
- old
+ new
@@ -33,10 +33,10 @@
end
it 'allows not raising fatal errors to be overridden' do
stub_const 'NestedFatalError', Class.new
NestedFatalError.class_eval {
- lev_routine
+ lev_routine raise_fatal_errors: false # testing that parent overrides
def exec
fatal_error(code: :its_broken)
end
}