fix slim 2.0 deprecated warnings shown in rspec