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 e5e0bee commit 4fd22b6Copy full SHA for 4fd22b6
spec/rspec/active_model/mocks/mock_model_spec.rb
@@ -444,6 +444,11 @@
444
ERR
445
end
446
include Test::Unit::Assertions
447
+ if defined?(Test::Unit::AutoRunner.need_auto_run = ())
448
+ Test::Unit::AutoRunner.need_auto_run = false
449
+ elsif defined?(Test::Unit.run = ())
450
+ Test::Unit.run = false
451
+ end
452
else
453
raise LoadError, <<-ERR.squeeze
454
Ruby 2.2+ doesn't support this version of Rails #{version}
@@ -452,6 +457,11 @@
457
458
require 'test/unit/assertions'
459
460
461
462
463
464
455
465
456
466
467
0 commit comments