require 'spec_helper' require 'board' describe Board do before do @board = Board.new end it 'starts with a grid of dots' do @board.instance_variable_get('@board').must_equal [ ['.', '.', '.'], ['.', '.', '.'], ['.', '.', '.'] ] end describe '#render' do it 'must be a grid' do @board.render.must_equal <