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.5.6 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.5 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.4 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.3 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.2 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.1 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.5.0 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.65 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.64 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.63 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.62 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.61 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.60 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.59 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.58 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.57 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.56 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.55 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.54 test/lib/vedeu/output/renderers/text_test.rb
vedeu-0.4.53 test/lib/vedeu/output/renderers/text_test.rb