Fix specs to use newer rspec syntax