Fix rspec compability