Sha256: a705fb3daa9720c325713cddd88f8f8f30ec5f754ecfecabace4b1104ae66b3f

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

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

context "Result storage" do
  setup do
    @cache = BackgrounDRb::ResultStorage.new(:some_worker,:crap)
  end

  specify "should store result" do
    @cache[:foo] = "Wow"
    @cache[:foo].should == "Wow"
    @cache.delete(:foo)
    @cache[:foo].should == nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backgroundrb-rails3-1.1.6 test/server/test_result_storage.rb
backgroundrb-rails3-1.1.5 test/server/test_result_storage.rb