阅读背景:

RSpec - 我可以在'be'之后添加一些东西用于此测试吗?

来源:互联网 

This tests works:

此测试有效:

require './9_chess_game'
require './9_chessboard'

describe 'Chess Games' do
  it 'A Game' do
    expect(ChessGame.new).to be
  end
end

class ChessGame
  def initialize                                                    
    @board= ChessBoard.new
  end
end
require './9_chess



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: