rspec 3 deprecated methods