Class: Test::Unit::Collector::ObjectSpace

Inherits:
Object
  • Object
show all
Defined in:
lib/active_support/testing/isolation.rb

Instance Method Summary collapse

Instance Method Details

#include?(test) ⇒ Boolean

Returns:

  • (Boolean)

153
154
155
# File 'lib/active_support/testing/isolation.rb', line 153

def include?(test)
  super && test.method_name == ENV['ISOLATION_TEST']
end