Sha256: 1e37ce48c25f919fbb09a7fc44a485f27546d4db9de65e22960766f856132f1a

Contents?: true

Size: 755 Bytes

Versions: 8

Compression:

Stored size: 755 Bytes

Contents

require 'test_helper'

module Vedeu

  describe Subprocess do

    let(:described)   { Vedeu::Subprocess }
    let(:instance)    { described.new(application) }
    let(:application) {}

    describe '#initialize' do
      subject { instance }

      it { subject.must_be_instance_of(described) }
      it do
        subject.instance_variable_get('@application').must_equal(application)
      end
      it { subject.instance_variable_get('@pid').must_equal(nil) }
    end

    describe '.execute!' do
      it { described.must_respond_to(:execute!) }
    end

    describe '#execute!' do
      it { instance.must_respond_to(:execute!) }
    end

    describe '#kill' do
      it { instance.must_respond_to(:kill) }
    end

  end # Subprocess

end # Vedeu

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vedeu-0.4.41 test/lib/vedeu/distributed/subprocess_test.rb
vedeu-0.4.40 test/lib/vedeu/distributed/subprocess_test.rb
vedeu-0.4.39 test/lib/vedeu/distributed/subprocess_test.rb
vedeu-0.4.38 test/lib/vedeu/distributed/subprocess_test.rb
vedeu-0.4.37 test/lib/vedeu/distributed/subprocess_test.rb
vedeu-0.4.36 test/lib/vedeu/distributed/subprocess_test.rb
vedeu-0.4.35 test/lib/vedeu/distributed/subprocess_test.rb
vedeu-0.4.34 test/lib/vedeu/distributed/subprocess_test.rb