App Academy

Possible Rspec issue with Ruby/Data Structures/Tic-Tac-Toe AI

In “02_super_computer_player_spec.rb”,
In under “Describe”,
In cases like at line 46, “expect(subject.move(winnable_game, :x)).to eq([0, 2])”
This throws an error because winnable_game is a mock object, not the board.
Rspec worked fine after I changed lines like those to refer its board methods directly like
“expect(subject.move(winnable_game.board, :x)).to eq([0, 2])”
Is this an issue? or Did I do it wrong?