We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d53dee commit e5e0beeCopy full SHA for e5e0bee
spec/rspec/active_model/mocks/mock_model_spec.rb
@@ -423,7 +423,7 @@
423
# This gem has no `lib/minitest.rb` file.
424
gem 'minitest' if defined?(Kernel.gem)
425
require 'minitest/unit'
426
- Assertions = MiniTest::Assertions
+ include MiniTest::Assertions
427
elsif version >= '3.2.22'
428
begin
429
# Test::Unit "helpfully" sets up autoload for its `AutoRunner`.
@@ -443,7 +443,7 @@
443
Gemfile: `gem 'test-unit', '~> 3.0'` (#{e.message})"
444
ERR
445
end
446
- Assertions = Test::Unit::Assertions
+ include Test::Unit::Assertions
447
else
448
raise LoadError, <<-ERR.squeeze
449
Ruby 2.2+ doesn't support this version of Rails #{version}
0 commit comments