Sha256: 62fea130e138bba81b00865aea3b364f3797077adb01c079813fd4e3165b5fda

Contents?: true

Size: 553 Bytes

Versions: 32

Compression:

Stored size: 553 Bytes

Contents

require 'test_helper'

module Vedeu

  module Renderers

    describe Text do

      let(:described) { Vedeu::Renderers::Text }
      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(String) }
      end

    end # Text

  end # Renderers

end # Vedeu

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
vedeu-0.4.30 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.29 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.28 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.27 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.26 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.25 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.24 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.23 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.22 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.21 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.20 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.19 test/lib/vedeu/output/renderers/text_test.rb