Sha256: bdf9e37824aba04d6e35a3eb3a8e59777cd6043047f7c0f81d665fb0b5a43c52

Contents?: true

Size: 512 Bytes

Versions: 2

Compression:

Stored size: 512 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(Vedeu::Subprocess) }
      it do
        subject.instance_variable_get('@application').must_equal(application)
      end
      it { subject.instance_variable_get('@pid').must_equal(nil) }
    end

  end # Subprocess

end # Vedeu

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.4.20 test/lib/vedeu/distributed/subprocess_test.rb
vedeu-0.4.19 test/lib/vedeu/distributed/subprocess_test.rb