Sha256: 5750d9b0e5409fa26651336ed84b07ee2831bd5657503449e4541b72d120ec59

Contents?: true

Size: 511 Bytes

Versions: 3

Compression:

Stored size: 511 Bytes

Contents

require 'test_helper'

module Vedeu

  describe TextRenderer do

    let(:described) { Vedeu::TextRenderer }
    let(:instance)  { described.new(output) }
    let(:output)    {}

    describe '#initialize' do
      it { instance.must_be_instance_of(Vedeu::TextRenderer) }
      it { instance.instance_variable_get('@output').must_equal([output]) }
    end

    describe '.render' do
      subject { described.render }

      it { subject.must_be_instance_of(String) }
    end

  end # TextRenderer

end # Vedeu

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vedeu-0.4.17 test/lib/vedeu/output/renderers/text_renderer_test.rb
vedeu-0.4.16 test/lib/vedeu/output/renderers/text_renderer_test.rb
vedeu-0.4.15 test/lib/vedeu/output/renderers/text_renderer_test.rb