Fix for rspec 3.0