Sha256: 22ff1fd3cf06c34673e572115d077c012199c7ceac68065dee6fd8d5f9ee1dd2

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe LiquidDiagrams::Renderers::BlockdiagRenderer, :renderers do
  subject(:renderer) { described_class.new('content') }

  describe '#render' do
    include_examples 'render with tempfile', described_class
  end

  describe '#executable' do
    it { expect(renderer.executable).to eq 'blockdiag -Tsvg --nodoctype' }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
liquid-diagrams-0.4.0 spec/liquid_diagrams/renderers/blockdiag_renderer_spec.rb