Updated more test to the new rspec syntax