aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/subscription_adapter
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-03-02 11:20:19 +1030
committerMatthew Draper <matthew@trebex.net>2016-03-02 12:17:15 +1030
commita373be9da45d4bee684ea03420212780ec1ef4b1 (patch)
tree3798c6117d8944189c84bd5363d49dbf935ea407 /actioncable/test/subscription_adapter
parent541e4abb4b3710a384aefac83cafd0ab878c60bf (diff)
downloadrails-a373be9da45d4bee684ea03420212780ec1ef4b1.tar.gz
rails-a373be9da45d4bee684ea03420212780ec1ef4b1.tar.bz2
rails-a373be9da45d4bee684ea03420212780ec1ef4b1.zip
Support faye-websocket + EventMachine as an option
Diffstat (limited to 'actioncable/test/subscription_adapter')
-rw-r--r--actioncable/test/subscription_adapter/common.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actioncable/test/subscription_adapter/common.rb b/actioncable/test/subscription_adapter/common.rb
index b31c2aa36c..82f0abbbf3 100644
--- a/actioncable/test/subscription_adapter/common.rb
+++ b/actioncable/test/subscription_adapter/common.rb
@@ -11,6 +11,7 @@ module CommonSubscriptionAdapterTest
def setup
server = ActionCable::Server::Base.new
server.config.cable = cable_config.with_indifferent_access
+ server.config.use_faye = ENV['FAYE'].present?
adapter_klass = server.config.pubsub_adapter