Sha256: fba9b7b4ac445fac0a133341e6c27c6d43fe936e501322ef76fd0346459e79ac

Contents?: true

Size: 564 Bytes

Versions: 32

Compression:

Stored size: 564 Bytes

Contents

require 'test_helper'

module Vedeu

  module Renderers

    describe Terminal do

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

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

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

        it { subject.must_be_instance_of(Array) }
      end

    end # Terminal

  end # Renderers

end # Vedeu

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
vedeu-0.4.50 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.49 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.48 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.47 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.46 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.45 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.44 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.43 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.42 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.41 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.40 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.39 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.38 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.37 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.36 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.35 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.34 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.33 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.32 test/lib/vedeu/output/renderers/terminal_test.rb
vedeu-0.4.31 test/lib/vedeu/output/renderers/terminal_test.rb