aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/test_unit/line_filtering.rb
blob: e8b891d07b9352cb3e8c50505362eb5b1d1bce4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require "method_source"
require "rails/test_unit/runner"

module Rails
  module LineFiltering # :nodoc:
    def run(reporter, options = {})
      options[:filter] = Rails::TestUnit::Runner.compose_filter(self, options[:filter])

      super
    end
  end
end