aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-01-15 19:03:05 -0500
committerJon Moss <me@jonathanmoss.me>2016-01-18 18:59:30 -0500
commit6aeaed4c1a370084e82c6712a32422a58dac8b8c (patch)
tree0284579e3fe07f57e7f7b9f16d627f63ab8c7eaa /actioncable/test
parent75489642c8dcb4c75ccc14b909113a2828d6acb8 (diff)
downloadrails-6aeaed4c1a370084e82c6712a32422a58dac8b8c.tar.gz
rails-6aeaed4c1a370084e82c6712a32422a58dac8b8c.tar.bz2
rails-6aeaed4c1a370084e82c6712a32422a58dac8b8c.zip
All Redis deps are now optional, Postgres --> PostgreSQL adapter
Diffstat (limited to 'actioncable/test')
-rw-r--r--actioncable/test/channel/stream_test.rb1
-rw-r--r--actioncable/test/test_helper.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/actioncable/test/channel/stream_test.rb b/actioncable/test/channel/stream_test.rb
index f0b463d149..8424310ca2 100644
--- a/actioncable/test/channel/stream_test.rb
+++ b/actioncable/test/channel/stream_test.rb
@@ -62,7 +62,6 @@ class ActionCable::Channel::StreamTest < ActionCable::TestCase
test "subscription confirmation should only be sent out once" do
EM.run do
connection = TestConnection.new
- connection.stubs(:pubsub).returns EM::Hiredis.connect.pubsub
channel = ChatChannel.new connection, "test_channel"
channel.send_confirmation
diff --git a/actioncable/test/test_helper.rb b/actioncable/test/test_helper.rb
index 325305939f..65b45e0c89 100644
--- a/actioncable/test/test_helper.rb
+++ b/actioncable/test/test_helper.rb
@@ -5,7 +5,6 @@ require 'active_support/testing/autorun'
require 'puma'
-require 'em-hiredis'
require 'mocha/setup'