Fix to work with rspec 3.0