Module: StubShell::TestHelpers

Defined in:
lib/stub_shell/test_helpers.rb

Instance Method Summary collapse

Instance Method Details

#stub_shell(&block) ⇒ Object



3
4
5
# File 'lib/stub_shell/test_helpers.rb', line 3

def stub_shell &block
  StubShell.current_context = StubShell::Shell.new &block
end