Skip to content

Commit 255b3a1

Browse files
committed
Need ActiveSupport tests to be coerceable
1 parent d8c6127 commit 255b3a1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/cases/helper_sqlserver.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,17 @@
1414
require "support/query_assertions"
1515
require "mocha/minitest"
1616

17+
module ActiveSupport
18+
class TestCase < ::Minitest::Test
19+
include ARTest::SQLServer::CoerceableTest
20+
end
21+
end
22+
1723
module ActiveRecord
1824
class TestCase < ActiveSupport::TestCase
1925
SQLServer = ActiveRecord::ConnectionAdapters::SQLServer
2026

21-
include ARTest::SQLServer::CoerceableTest,
22-
ARTest::SQLServer::ConnectionReflection,
27+
include ARTest::SQLServer::ConnectionReflection,
2328
ActiveSupport::Testing::Stream,
2429
ARTest::SQLServer::QueryAssertions
2530

0 commit comments

Comments
 (0)