Sha256: 0f60bd49e62babb9a967a84843ba7ed7acdaf6b7bad4d0ec1c4f5b649ca7ac01

Contents?: true

Size: 495 Bytes

Versions: 11

Compression:

Stored size: 495 Bytes

Contents

require 'test_helper'

module Vedeu

  describe Renderer do

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

    describe '#initialize' do
      it { instance.must_be_instance_of(Vedeu::Renderer) }
      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 # Renderer

end # Vedeu

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
vedeu-0.4.9 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.8 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.7 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.6 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.5 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.4 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.3 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.2 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.1 test/lib/vedeu/output/renderer_test.rb
vedeu-0.4.0 test/lib/vedeu/output/renderer_test.rb
vedeu-0.3.5 test/lib/vedeu/output/renderer_test.rb