class BackgroundGuard
Some specs, notably those for Readline, will block under certain circumstances when run as background or subprocesses. Use this guard for such specs.
Public Instance Methods
match?()
click to toggle source
# File lib/mspec/guards/background.rb, line 8 def match? MSpec.mode? :background end