Fix rspec infer from file