Sha256: 7bef3b0c1bee037bb375ee335a5b4847711dd77f2d5d72843926de3991c89ec5

Contents?: true

Size: 362 Bytes

Versions: 3

Compression:

Stored size: 362 Bytes

Contents

require 'jruby_activiti'

require 'minitest/autorun'
require 'minitest/unit'
require 'minitest/pride'

Activiti = JrubyActiviti.build_engine do |engine|
  engine.config_path = "config/activiti.cfg.xml"
end

def assert_difference(cmd, target_count)
  count1 = eval(cmd)
  yield if block_given?
  count2 = eval(cmd)

  assert_equal target_count, count2-count1 
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jruby_activiti-2.0.8 test/test_helper.rb
jruby_activiti-2.0.7 test/test_helper.rb
jruby_activiti-2.0.6 test/test_helper.rb