Skip to content

Instantly share code, notes, and snippets.

View gist:bac2197abcd9728a478b
08:42:25 (master) /vagrant/projects/casa_do_codigo_tdd_com_ruby/o_problema_dos_numeros_romanos$ ruby tests/conversor_de_numero_romano_test.rb
tests/conversor_de_numero_romano_test.rb:4:in `<main>': uninitialized constant Test (NameError)
View gist:d8a22c7fa83e5b775d56
08:26:29 /vagrant/projects/casa_do_codigo_tdd_com_ruby/o_problema_dos_numeros_romanos$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
08:26:35 /vagrant/projects/casa_do_codigo_tdd_com_ruby/o_problema_dos_numeros_romanos$ ruby tests/conversor_de_numero_romano_test.rb
Warning: you should require 'minitest/autorun' instead.
Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
From:
/home/vagrant/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit.rb:1:in `<top (required)>'
tests/conversor_de_numero_romano_test.rb:1:in `<main>'
MiniTest::Unit::TestCase is now Minitest::Test. From /home/vagrant/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>'
/home/vagrant/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit.rb:676:in `<class:Runner>': undefined method `_run_suite' for class `Test::Unit::Runner' (NameError)
You can’t perform that action at this time.