Fix for rspec 3 x