Sha256: 0714098cacc9e735a34b6c5dd64a4c3e2caf19dffdd095efcea31abf0f937d52

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

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

module Vedeu
  describe Input do
    let(:described_class) { Input }
    let(:input)           { "" }
    let(:subject)         { described_class.new }

    before { Terminal.stubs(:input).returns(input) }

    it { subject.must_be_instance_of(Input) }

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

      it { subject.must_be_instance_of(Array) }

      it { subject.wont_be_empty }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.0.14 test/lib/vedeu/process/input_test.rb