Sha256: bfe360754bbef4bed433029762e221eeda1268bf6284e6dd8b1b0b4bd49e4d54

Contents?: true

Size: 231 Bytes

Versions: 2

Compression:

Stored size: 231 Bytes

Contents

require 'spec_helper'

mock_node = {"value" => "foo"}

describe StructuredTextRenderer::BoldRenderer do
  subject { described_class.new }

  it 'renders as a b' do
    expect(subject.render(mock_node)).to eq "<b>foo</b>"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
structured_text_renderer-0.0.2 spec/lib/structured_text_renderer/text_renderers/bold_renderer_spec.rb
structured_text_renderer-0.0.1 spec/lib/structured_text_renderer/text_renderers/bold_renderer_spec.rb