Example fix according to rspec-3.0 api