aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/subscription_adapter/inline_test.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2016-01-24 21:13:40 +1030
committerMatthew Draper <matthew@trebex.net>2016-01-24 21:13:40 +1030
commit9ff28c10ebad0d4781603499a3e3b1d7fd5fbd2c (patch)
tree7ee3ca515ce68e25fea47d97e3fd439ab9c55524 /actioncable/test/subscription_adapter/inline_test.rb
parent7363ad43f598d6833d3c773f56e58a9f5d6e2e1f (diff)
downloadrails-9ff28c10ebad0d4781603499a3e3b1d7fd5fbd2c.tar.gz
rails-9ff28c10ebad0d4781603499a3e3b1d7fd5fbd2c.tar.bz2
rails-9ff28c10ebad0d4781603499a3e3b1d7fd5fbd2c.zip
Add tests for the ActionCable adapters
Diffstat (limited to 'actioncable/test/subscription_adapter/inline_test.rb')
-rw-r--r--actioncable/test/subscription_adapter/inline_test.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/actioncable/test/subscription_adapter/inline_test.rb b/actioncable/test/subscription_adapter/inline_test.rb
new file mode 100644
index 0000000000..75ea51e6b3
--- /dev/null
+++ b/actioncable/test/subscription_adapter/inline_test.rb
@@ -0,0 +1,17 @@
+require 'test_helper'
+require_relative './common'
+
+class InlineAdapterTest < ActionCable::TestCase
+ include CommonSubscriptionAdapterTest
+
+ def setup
+ super
+
+ @tx_adapter.shutdown
+ @tx_adapter = @rx_adapter
+ end
+
+ def cable_config
+ { adapter: 'inline' }
+ end
+end