Jestem nowy w Ruby on Rails i testowaniu. Kiedy uruchamiam rake test
pojawia się następujący błąd:Jak dodać klej "minitest" do mojego pomocnika testowego?
/Users/jarvis/.rvm/gems/[email protected]/gems/rack-1.3.4/lib/rack/backports
/uri/common_192.rb:53: warning: already initialized constant WFKV_
/Users/jarvis/.rvm/gems/[email protected]/gems/turn-0.8.3/lib/turn/autorun
/minitest.rb:14:in `<top (required)>': MiniTest v1.6.0 is out of date. (RuntimeError)
`gem install minitest` and add `gem 'minitest' to you test helper.
from /Users/jarvis/.rvm/gems/[email protected]/gems/activesupport-3.1.1/lib
/active_support/dependencies.rb:240:in `require'
zrobiłem gem install minitest
a teraz mówi dodać gem „MiniTest” do mojego testu pomocnika. Czy to jest test/test_helper.rb
, a jeśli tak, jak mogę "dodać" minitest?
masz przeczytać ? http://www.rubyinside.com/a-minitestspec-tutorial-elegant-spec-style-testing-that-comes-with-ruby-5354.html – stephenmurdoch
Dzięki za udostępnienie linku, czytam przez niego i to jest wyjaśniając wszystko lepiej. –
Dziękujemy za dodanie rozwiązania! –