test/test_McQuery.rb in McQuery-0.1.0 vs test/test_McQuery.rb in McQuery-0.1.1
- old
+ new
@@ -1,4 +1,7 @@
require 'helper'
-
+require_relative '../lib/McQuery.rb'
class TestMcquery < Test::Unit::TestCase
+ should "Not return nil for query" do
+ assert_not_nil McQuery::Query.new('localhost', 25565).doQuery
+ end
end