From 2e5960490936890624cdb2e23c9da4f2b12c4fbf Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Sat, 13 Jun 2015 11:56:32 +0200 Subject: make it possible to customize the executable inside rereun snippets. In the Rails repository we use a `bin/test` executable to run our tests. However the rerun snippets still included `bin/rails test`: BEFORE: ``` Failed tests: bin/rails test test/cases/adapters/postgresql/schema_test.rb:91 ``` AFTER: ``` Failed tests: bin/test test/cases/adapters/postgresql/schema_test.rb:91 ``` --- tools/test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/test.rb b/tools/test.rb index 50cce2081a..70f295b554 100644 --- a/tools/test.rb +++ b/tools/test.rb @@ -8,3 +8,5 @@ module Rails @root ||= Pathname.new(COMPONENT_ROOT) end end + +Rails::TestUnitReporter.executable = "bin/test" -- cgit v1.2.3