Sha256: 205ec0595556a8b937b34e1bc0c90a11379d357308fbb192fea454b73187d6ac

Contents?: true

Size: 525 Bytes

Versions: 2

Compression:

Stored size: 525 Bytes

Contents

require_relative '../../../test_helper'

module Vedeu
  describe Output do
    let(:described_class) { Output }
    let(:input)           { "" }
    let(:args)            { [] }

    before do
      Compositor.stubs(:arrange)
      Queue.stubs(:dequeue).returns(result)
    end

    describe '.render' do
      let(:subject) { described_class.render }
      let(:result)  { }

      it { subject.must_be_instance_of(NilClass) }

      context 'when the result is empty' do
        let(:result) {}
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.0.13 test/lib/vedeu/process/output_test.rb
vedeu-0.0.12 test/lib/vedeu/process/output_test.rb