remove rspec3 deprecated warnings