aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/worker_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/worker_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/worker_test.rb')
-rw-r--r--actioncable/test/worker_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actioncable/test/worker_test.rb b/actioncable/test/worker_test.rb
index 9911a3b98b..4a699cde27 100644
--- a/actioncable/test/worker_test.rb
+++ b/actioncable/test/worker_test.rb
@@ -13,6 +13,11 @@ class WorkerTest < ActiveSupport::TestCase
end
def connection
+ self
+ end
+
+ def logger
+ ActionCable.server.logger
end
end