File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ Bug Fixes:
6
6
autoload does not find it in some environments. (Aaron Kromer, #1305 )
7
7
* ` be_routable ` matcher now has the correct description. (Tony Ta, #1310 )
8
8
* Fix dependency to allow Rails 4.2.x patches / pre-releases (Lucas Mazza, #1318 )
9
+ * Disable the ` test-unit ` gem's autorunner on projects running Rails < 4.1 and
10
+ Ruby < 2.2 (Aaron Kromer, #1320 )
9
11
10
12
### 3.2.0 / 2015-02-03
11
13
[ Full Changelog] ( http://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0 )
Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ module Rails
61
61
require 'rubysl-test-unit' if defined? ( RUBY_ENGINE ) && RUBY_ENGINE == 'rbx'
62
62
require 'test/unit/assertions'
63
63
end
64
+ # Turn off test unit's auto runner for those using the gem
65
+ Test ::Unit ::AutoRunner . need_auto_run = false if defined? ( Test ::Unit ::AutoRunner )
64
66
# Constant aliased to either Minitest or TestUnit, depending on what is
65
67
# loaded.
66
68
Assertions = Test ::Unit ::Assertions
You can’t perform that action at this time.
0 commit comments