Sha256: 6fb2736fa0cc15566431420bbd6d1015dc7b9ae1df4ddb19bf709e7910fb0c06

Contents?: true

Size: 806 Bytes

Versions: 1

Compression:

Stored size: 806 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  module Output

    module Compressors

      describe Character do

        let(:described) { Vedeu::Output::Compressors::Character }
        let(:instance)  { described.new(content) }
        let(:content)   {}

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

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

        describe '#compress' do
          subject { instance.compress }

          it { instance.must_respond_to(:compress) }

          # @todo Add more tests.
        end

      end # Character

    end # Compressors

  end # Output

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.8.32 test/lib/vedeu/output/compressors/character_test.rb