0

テスト後にエラーを指定したファイルに書き込む方法 (次のとおり)。

Failures:

1) Create should be successful
Failure/Error: unit_ship.should be_valid
expected valid? to return true, got false
# ./spec/models/unit_ship_spec.rbin `block (3 levels) in '

ありがとう!

4

1 に答える 1

0

これを試して:

$ rake spec > output.txt
于 2012-07-23T07:44:34.427 に答える