Sha256: b96b0c9ff3e672dc1190268c20656a0ab3cf106387a1d147cf7f26d2be64e7ad

Contents?: true

Size: 590 Bytes

Versions: 42

Compression:

Stored size: 590 Bytes

Contents

require 'test_helper'

module Vedeu

  module Renderers

    describe Text do

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

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

      describe '#render' do
        subject { instance.render(output) }

        it { subject.must_be_instance_of(String) }
      end

    end # Text

  end # Renderers

end # Vedeu

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
vedeu-0.6.12 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.11 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.10 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.9 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.8 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.7 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.6 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.5 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.4 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.3 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.2 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.1 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.6.0 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.13 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.12 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.11 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.10 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.9 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.8 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.7 test/lib/vedeu/output/renderers/text_test.rb