From 74a9a2927774e21b62913eca9103be78515a4719 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Fri, 8 Jun 2018 23:25:32 +0300 Subject: Include `ActiveSupport::Testing::MethodCallAssertions` to `ActionCable::TestCase` Remove all `include ActiveSupport::Testing::MethodCallAssertions` in actioncable's tests since we can do it only in `ActionCable::TestCase` in order to prevent code duplication. We use the same approach for other modules of Rails. --- actioncable/test/connection/subscriptions_test.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'actioncable/test/connection/subscriptions_test.rb') diff --git a/actioncable/test/connection/subscriptions_test.rb b/actioncable/test/connection/subscriptions_test.rb index 7bc8c4241c..902085c5d6 100644 --- a/actioncable/test/connection/subscriptions_test.rb +++ b/actioncable/test/connection/subscriptions_test.rb @@ -1,11 +1,8 @@ # frozen_string_literal: true require "test_helper" -require "active_support/testing/method_call_assertions" class ActionCable::Connection::SubscriptionsTest < ActionCable::TestCase - include ActiveSupport::Testing::MethodCallAssertions - class Connection < ActionCable::Connection::Base attr_reader :websocket -- cgit v1.2.3