removed deprecated rspec syntax