started using non-deprecated rspec syntax