Skip to content

Commit

Permalink
Support line filtering when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lewispb committed Nov 20, 2024
1 parent 9cf8da6 commit 72f3077
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
require "active_support/test_case"
require "active_support/testing/autorun"
require "active_support/testing/stream"
require "rails/test_unit/line_filtering"
require "debug"
require "mocha/minitest" # using #stubs that can alter returns
require "minitest/autorun" # using #stub that take args
Expand Down Expand Up @@ -32,6 +33,7 @@ def run_locally(&block)

class ActiveSupport::TestCase
include ActiveSupport::Testing::Stream
extend Rails::LineFiltering

private
def stdouted
Expand Down

0 comments on commit 72f3077

Please sign in to comment.