discourse/spec/components/distributed_hash_spec.rb

13 lines
287 B
Ruby
Raw Normal View History

2013-02-06 03:16:51 +08:00
require 'spec_helper'
require 'distributed_hash'
describe DiscoursePluginRegistry do
2013-02-26 00:42:20 +08:00
# it 'should sync the sets across instances' do
2013-02-06 03:16:51 +08:00
# h1 = DistributedHash.new(:hash)
# h2 = DistributedHash.new(:hash)
2013-02-26 00:42:20 +08:00
# h1[:hello] = "world"
2013-02-06 03:16:51 +08:00
# h2[:hello].should == "world"
# end
end