Module: Kernel

Defined in:
lib/test/spec.rb

Instance Method Summary collapse

Instance Method Details

#fcontext(name_or_class, superclass = Test::Unit::TestCase, klass = Test::Spec::TestCase, &block) ⇒ Object

:doc:



711
712
713
714
# File 'lib/test/spec.rb', line 711

def fcontext(name_or_class, superclass=Test::Unit::TestCase, klass=Test::Spec::TestCase, &block)     # :doc:
  Test::Spec.set_focused_mode(true)
  context(name_or_class, superclass, Test::Spec::FocusedTestCase, &block)
end