Sha256: b552adff69a2b20fed589671bba620f6a0addfe83dcae6ea0dd893c8f473ab7a
Contents?: true
Size: 670 Bytes
Versions: 13
Compression:
Stored size: 670 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "OnStomp::Client.new with failover", :failover => true do describe "monkey patching OnStomp::Client" do it "should return a failover client if given an array" do OnStomp::Client.new(['stomp:///', 'stomp+ssl:///']).should be_a_kind_of(OnStomp::Failover::Client) end it "should return a failover client if given a failover: URI" do OnStomp::Client.new('failover:(stomp:///,stomp+ssl:///)').should be_a_kind_of(OnStomp::Failover::Client) end it "should be a regular client otherwise" do OnStomp::Client.new('stomp:///').should be_a_kind_of(OnStomp::Client) end end end
Version data entries
13 entries across 13 versions & 1 rubygems