Sha256: 37e948cc8554db619a20e3cd4450bbdde47eed108576644eb9430c95d75474f5

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

require File.join(".", File.dirname(__FILE__) + "/../bdrb_test_helper")
require File.join(".", File.dirname(__FILE__) + "/../bdrb_client_test_helper")

context "For client helper" do
  specify "should return correct worker key" do
    class Foo
      include BackgrounDRb::ClientHelper
    end
    a = Foo.new
    a.gen_worker_key("hello","world").should == :hello_world
    a.gen_worker_key("hello").should == :hello
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backgroundrb-rails3-1.1.6 test/client/test_bdrb_client_helper.rb
backgroundrb-rails3-1.1.5 test/client/test_bdrb_client_helper.rb