Sha256: 540412aad1974e3527a5c722b0be152a7f69633113503a5674489767ab0a94e3

Contents?: true

Size: 736 Bytes

Versions: 1

Compression:

Stored size: 736 Bytes

Contents

#
# testing ruote
#
# Sun Jan  3 12:04:07 JST 2010
#
# Matt Nichols (http://github.com/mattnichols)
#

require File.join(File.dirname(__FILE__), %w[ .. test_helper.rb ])
require File.join(File.dirname(__FILE__), %w[ .. functional storage_helper.rb ])

require 'ruote'


class UtEngineTest < Test::Unit::TestCase

  def test_initialize_with_worker

    storage = determine_storage(
      's_logger' => [ 'ruote/log/test_logger', 'Ruote::TestLogger' ])
    worker = Ruote::Worker.new(storage)
    engine = Ruote::Engine.new(worker, false)
  end

  def test_initialize_with_storage

    storage = determine_storage(
      's_logger' => [ 'ruote/log/test_logger', 'Ruote::TestLogger' ])

    engine = Ruote::Engine.new(storage)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-2.1.2 test/unit/ut_18_engine.rb