提交 79c17a2d 编写于 作者: A Akira Matsuda

Privatize unneededly protected methods in Action Cable tests

上级 7269d9de
......@@ -53,7 +53,7 @@ def connect
end
end
protected
private
def open_connection_with_stubbed_pubsub
server = TestServer.new
server.stubs(:adapter).returns(stub_everything("adapter"))
......
......@@ -19,7 +19,7 @@ def connect
end
end
protected
private
def open_connection_with_stubbed_pubsub
server = TestServer.new
server.stubs(:pubsub).returns(stub_everything("pubsub"))
......
......@@ -21,7 +21,7 @@ def send_async(method, *args)
end
end
protected
private
def open_connection_with_stubbed_pubsub
@server = TestServer.new
@server.stubs(:pubsub).returns(stub_everything("pubsub"))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册