Skip to content

Commit 552b89e

Browse files
committed
Support line filtering in tests
1 parent 6e4f77c commit 552b89e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require "bundler/setup"
22
require "active_support/test_case"
33
require "active_support/testing/autorun"
4+
require "rails/test_unit/line_filtering"
45
require "minitest/mock"
56
require "byebug"
67

@@ -11,6 +12,8 @@
1112
ActiveSupport::LogSubscriber.logger = ActiveSupport::Logger.new(STDOUT) if ENV["VERBOSE"]
1213

1314
class ActiveSupport::TestCase
15+
extend Rails::LineFiltering
16+
1417
teardown { Kredis.clear_all }
1518

1619
class RedisUnavailableProxy

0 commit comments

Comments
 (0)