Rspec connection params

resolve #1