# File test/test_helper.rb, line 114 def get_conn_headers() ch = {} if ENV['STOMP_TEST11p'] # raise "Invalid 1.1 plus test protocol" if ENV['STOMP_TEST11p'] == Stomp::SPL_10 # if Stomp::SUPPORTED.index(ENV['STOMP_TEST11p']) ch['accept-version'] = ENV['STOMP_TEST11p'] else ch['accept-version'] = Stomp::SPL_11 # Just use 1.1 end # ch['host'] = ENV['STOMP_RABBIT'] ? "/" : host end ch end