Skip to content

Instantly share code, notes, and snippets.

@lastk

lastk/test.rb Secret

Created November 8, 2013 15:27
Show Gist options
  • Save lastk/5a029d880fef7a2fcb4d to your computer and use it in GitHub Desktop.
Save lastk/5a029d880fef7a2fcb4d to your computer and use it in GitHub Desktop.
› autotest ruby-2.0.0-p0
/home/rafael/.rvm/rubies/ruby-2.0.0-p0/bin/ruby -I.:lib:test -rubygems -e "['test/unit', 'test/test_game.rb'].each { |f| require f }" | ruby /home/rafael/.rvm/gems/ruby-2.0.0-p0/gems/autotest-standalone-4.5.11/bin/unit_diff -u
/home/rafael/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/minitest/unit.rb:28:in `const_missing': uninitialized constant MiniTest::Test (NameError)
from /home/rafael/.rvm/gems/ruby-2.0.0-p0/gems/minitest-5.0.8/lib/minitest/spec.rb:83:in `<top (required)>'
require "minitest/autorun"
class TestGame < Minitest::Test
def setup
end
def test_ok
assert true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment