Method: MiniTest::Spec.background
- Defined in:
- lib/tm.rb
.background(type = :each, opts = {}, &block) ⇒ Object Also known as: Background
63 64 65 66 67 68 69 |
# File 'lib/tm.rb', line 63 def background type = :each, opts = {}, &block return unless TM.should_run?(opts[:tag]) before type do self.instance_exec(&block) end end |