Make it work with rspec 3