fixed rspec syntax