test_account.rb

znmud-0.0.1/test/test_account.rb · 471 B

From the archive znmud-minimal-0.0.1.tar.gz

Download the archive   « Back to the archive contents

# Code Generated by ZenTest v. 2.4.0
#                 classname: asrt / meth =  ratio%
#                   Account:    0 /    4 =   0.00%

unless defined? $ZENTEST and $ZENTEST
require 'test/unit'
require 'flexmock'
load 'mockengine.rb'
require 'core/account'
end

class TestAccount < Test::Unit::TestCase
  def setup
    $id = 0
  end

  def test_update
    assert_equal(nil,Account.new(5).update("foo"))
  end
end

# Number of errors detected: 1

Site Stats

Snippets: 1791
Codebases: 571