Skip to content

Commit

Permalink
Use MiniTest's filter option.
Browse files Browse the repository at this point in the history
  • Loading branch information
trans committed Mar 2, 2012
1 parent 86c2386 commit a554c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/turn/runners/minirunner.rb
Expand Up @@ -66,7 +66,7 @@ def _run_suite suite, type
# suites are cases in minitest
@turn_case = @turn_suite.new_case(suite.name)

filter = @turn_config.pattern || /./
filter = @options[:filter] || @turn_config.pattern || /./

suite.send("#{type}_methods").grep(filter).each do |test|
@turn_case.new_test(test)
Expand Down

0 comments on commit a554c9d

Please sign in to comment.