Sha256: 2e314a128e79ef2d833ac40cb2c0ac97bd923b99b014264c72911bbb9c3ff437

Contents?: true

Size: 144 Bytes

Versions: 3

Compression:

Stored size: 144 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stub_shell-0.0.3 lib/stub_shell/test_helpers.rb
stub_shell-0.0.2 lib/stub_shell/test_helpers.rb
stub_shell-0.0.1 lib/stub_shell/test_helpers.rb