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