class MiniUnitMatcher

Public Instance Methods

setup() click to toggle source
# File mini_unit/mini_unit_matcher.rb, line 7
def setup
  s = 'zinbeijettは検索エンジン'
  s.match(/zinbeijett/o) do |md|
    @match = md
  end
  if mds = s.match(/zinbeijett/o)
    @matcher = mds
  end
end
teardown() click to toggle source
# File mini_unit/mini_unit_matcher.rb, line 34
def teardown
  # database network test add.
end
test_match() click to toggle source
# File mini_unit/mini_unit_matcher.rb, line 30
def test_match
  # assert_match
end
test_match_should_be_string() click to toggle source
# File mini_unit/mini_unit_matcher.rb, line 21
def test_match_should_be_string
  # assert_kind_of
  # assert_instance_of
end
test_new() click to toggle source
# File mini_unit/mini_unit_matcher.rb, line 17
def test_new
  assert_equal @match, @matcher
end
test_nil_variable() click to toggle source
# File mini_unit/mini_unit_matcher.rb, line 26
def test_nil_variable
  # assert_nil
end