Skip to content

Commit

Permalink
Update game_status_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ipc103 committed Sep 17, 2015
1 parent c11ce39 commit eec13cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/game_status_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
expect(won?(board)).to match_array([2,5,8])
end

it 'returns an array of matching indexes for a left diagnol win' do
it 'returns an array of matching indexes for a left diagonal win' do
board = ["X", " ", " ", " ", "X", " ", " ", " ", "X"]

expect(won?(board)).to match_array([0,4,8])
end

it 'returns an array of matching indexes for a right diagnol win' do
it 'returns an array of matching indexes for a right diagonal win' do
board = [" ", " ", "O", " ", "O", " ", "O", " ", " "]

expect(won?(board)).to match_array([2,4,6])
Expand Down

0 comments on commit eec13cf

Please sign in to comment.