From 9ff28c10ebad0d4781603499a3e3b1d7fd5fbd2c Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Sun, 24 Jan 2016 21:13:40 +1030 Subject: Add tests for the ActionCable adapters --- actioncable/test/subscription_adapter/inline_test.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 actioncable/test/subscription_adapter/inline_test.rb (limited to 'actioncable/test/subscription_adapter/inline_test.rb') 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 -- cgit v1.2.3