class TestVersion

Mini_test file load.

Unit-test start!

Public Instance Methods

setup() click to toggle source
# File test/test_version.rb, line 8
def setup
  @versions = Zinbei::VERSION
  @version = '2.0.0'
end
teardown() click to toggle source
# File test/test_version.rb, line 36
def teardown
  # database network test add.
end
test_match() click to toggle source
# File test/test_version.rb, line 32
def test_match
  # assert_match
end
test_new() click to toggle source
# File test/test_version.rb, line 13
def test_new
  refute_equal(@versions, @version)
  assert_operator(@versions, :<, @version)
end
test_nil_variable() click to toggle source
# File test/test_version.rb, line 28
def test_nil_variable
  # assert_nil
end
test_version() click to toggle source
# File mini_test/mini_test_version.rb, line 9
def test_version
  @standard = Zinbei::VERSION
  @major = '2.0.0'

  refute_equal(@standard, @major)
  assert_operator(@standard, :<, @major)
end
test_version_should_be_string() click to toggle source
# File test/test_version.rb, line 18
def test_version_should_be_string
  assert_kind_of String, @version
  assert_instance_of String, @version
end
test_version_should_be_string2() click to toggle source
# File test/test_version.rb, line 23
def test_version_should_be_string2
  assert_kind_of String, @versions
  assert_instance_of String, @versions
end