fix slim 2.0 deprecated warnings shown in rspec
Merge pull request #426 from doitian/fix-some-slim-2-deprecated-warnings-in-rspec

fix slim 2.0 deprecated warnings shown in rspec