Sha256: de0c0859f4f8e17fbe03bb29672023b4aab2a1bc77fba0b47059d82c371667fe

Contents?: true

Size: 401 Bytes

Versions: 11

Compression:

Stored size: 401 Bytes

Contents

require 'aruba/processes/in_process'

module Aruba
  module Processes
    class InProcess < BasicProcess
      attr_reader :kernel

      class FakeKernel
        def system(*args)
          system_commands.push(args.join(' '))
        end

        def system_commands
          @system_commands ||= []
        end

        def abort(msg)
          exit(false)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
ey-core-3.6.0.autoscaling1 features/support/fake_kernel.rb
ey-core-3.6.4 features/support/fake_kernel.rb
ey-core-3.6.3 features/support/fake_kernel.rb
ey-core-3.6.1 features/support/fake_kernel.rb
groove-ey-core-3.6.3 features/support/fake_kernel.rb
groove-ey-core-3.6.2 features/support/fake_kernel.rb
groove-ey-core-3.6.1 features/support/fake_kernel.rb
ey-core-3.5.0 features/support/fake_kernel.rb
ey-core-3.4.4 features/support/fake_kernel.rb
ey-core-3.4.2 features/support/fake_kernel.rb
ey-core-3.4.1 features/support/fake_kernel.rb