Sha256: 94c2a4af9794e996beb267d415fc51d6736985fb557898c13b232ab860b24f01

Contents?: true

Size: 418 Bytes

Versions: 4

Compression:

Stored size: 418 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

4 entries across 4 versions & 1 rubygems

Version Path
backgroundrb-rails3-1.1.3 test/client/test_bdrb_client_helper.rb
backgroundrb-rails3-1.1.2 test/client/test_bdrb_client_helper.rb
backgroundrb-rails3-1.1.1 test/client/test_bdrb_client_helper.rb
backgroundrb-rails3-1.1 test/client/test_bdrb_client_helper.rb