it "should set token of player 1 to X" do
@game.setplayer1
@game.player1.should eql "X"
end
My method
def setplayer1
@output.player1.eql? "X"
end¨
I´am still getting expected:
Failure/Error: @game.player1.should eql "X"
expected: "X"
got: nil
I don´t know where is the problem and why it´s not passing the test.