Sha256: 558370fe0aceb4dabb27c7adf2164dccaa494f16f9d86eedcbb111cac0b75343

Contents?: true

Size: 779 Bytes

Versions: 23

Compression:

Stored size: 779 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  class DummyRenderer
    def self.render(*output)
      :dummy
    end
  end

  class FooRenderer
    def self.render(*output)
      :foo
    end
  end

  describe Renderers do

    let(:described) { Vedeu::Renderers }
    let(:output)    {}

    before {
      Vedeu.stubs(:log)
      Vedeu::Renderers.reset
    }
    after  { Vedeu::Renderers.reset }

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

      it { described.must_respond_to(:clear) }
    end

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

      it { subject.must_be_instance_of(Module) }
    end

    describe '.render' do
      it { described.must_respond_to(:render) }
    end

  end # Renderers

end # Vedeu

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
vedeu-0.8.32 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.31 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.30 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.29 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.28 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.27 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.26 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.25 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.24 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.23 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.22 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.21 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.20 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.19 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.18 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.17 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.16 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.15 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.14 test/lib/vedeu/renderers/all_test.rb
vedeu-0.8.13 test/lib/vedeu/renderers/all_test.rb