2012-04-22 2 views
0

Windows에서 레이크 테스트를 실행할 때 테스트 이름 대신 점으로 표시됩니다. 모든 테스트는 괜찮습니다. 출력 예 :Win으로 레이크 테스트 출력 (테스트 대신 점)

>rake test 
# Running tests: 
. . . . . . . 
Finished tests in <...> 
7 test, 10 alterations, 0 errors, 0 failures, 0 skips 

그리고 test/unit/product_test.erb 내용 :

require 'test_helper' 

class ProductTest < ActiveSupport::TestCase 
    test 'product attributes must not be empty' do 
    product = Product.new 
    assert product.invalid? 
    assert product.errors[:title].any? 
    assert product.errors[:description].any? 
    assert product.errors[:price].any? 
    assert product.errors[:image_url].any? 
    end 
end 

레일 버전 : 3.2.1, 루비 버전 : 1.9.3

가 도움이 아무것도 찾지 못했습니다. 제안/해결책에 대해 감사드립니다.

답변

0

얼마 후이 질문에 답하십시오. 내가 필요로하는 모든 것 - '회전'보석. 그리고 그것으로 작업하는 '가장 작은'.

Gemfile에 이것을 추가하면 출력물이 더욱 예뻐졌습니다.

관련 문제