Sha256: 382306058e54e54a74c553fe806c1525d5925b5f13a4225bde78d01301b766e8

Contents?: true

Size: 463 Bytes

Versions: 6

Compression:

Stored size: 463 Bytes

Contents

require 'test/unit'
begin
  require File.join(File.dirname(__FILE__), '../lib/simple_worker')
rescue Exception => ex
  puts ex.message
  require 'simple_worker'
end
require_relative "test_worker"
require_relative "test_worker_2"


class SimpleWorkerTests < Test::Unit::TestCase

  def test_no_conf
    # Add something to queue, get task ID back
    tw        = TestWorker.new
    tw.s3_key = "active style runner"
    tw.times  = 3

    tw.run_local

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_worker-0.5.8 test/test_no_config.rb
simple_worker-0.5.6 test/test_no_config.rb
simple_worker-0.5.5 test/test_no_config.rb
simple_worker-0.5.4 test/test_no_config.rb
simple_worker-0.5.2 test/test_no_config.rb
simple_worker-0.5.1 test/test_no_config.rb