Skip to content

Commit 0198586

Browse files
committed
correct check for 3-2-stable
1 parent 4fd22b6 commit 0198586

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ else
3131
gem "activesupport", version
3232
end
3333

34-
gem "test-unit", '~> 3' if version >= '3.2.22' && version < '4.0.0'
34+
gem "test-unit", '~> 3' if (version >= '3.2.22' || version == '3-2-stable') && version < '4.0.0'
3535

3636
gem "i18n", '< 0.7.0' if RUBY_VERSION < '1.9.3'

spec/rspec/active_model/mocks/mock_model_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@
424424
gem 'minitest' if defined?(Kernel.gem)
425425
require 'minitest/unit'
426426
include MiniTest::Assertions
427-
elsif version >= '3.2.22'
427+
elsif version >= '3.2.22' || version == '3-2-stable'
428428
begin
429429
# Test::Unit "helpfully" sets up autoload for its `AutoRunner`.
430430
# While we do not reference it directly, when we load the `TestCase`

0 commit comments

Comments
 (0)