spec/maze/maze_cell_spec.rb in rmaze-1.0.0 vs spec/maze/maze_cell_spec.rb in rmaze-1.5.0

- old
+ new

@@ -80,13 +80,13 @@ maze_cell = @maze.cell(0, 0) expect(maze_cell != @maze.cell(1, 0)).to be_truthy expect(maze_cell != nil).to be_truthy end - it '#debug' do + it '#print' do allow($stdout).to receive(:puts).exactly(3).times maze_cell = @maze.cell(0, 0) - maze_cell.debug + maze_cell.print end it '#inspect' do maze_cell = @maze.cell(1, 0) expect(maze_cell.inspect).to eq("#<MazeCell: @maze=#{@maze.inspect}, @x=#{1}, @y=#{0}>")