Sha256: 9d16d9f9ba0ed8345df4e7dbfb0374747d05af2d18710f61cbb6c8bf669b06ae

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe LiquidDiagrams::Renderers::WavedromRenderer, :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 'wavedrom-cli' }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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