safely trasitioned rspec into tic tac toe engine