Sha256: eafc4819511281066058be48c2804906e78763986a914a36fb8840b1e6ba71b1

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 Bytes

Contents

require 'spec_helper'

RSpec.describe "Inky#release_the_kraken" do
  it "works on binary text" do
    input = '<container/>'.b
    expected = <<-HTML
      <table class="container" align="center">
        <tbody>
          <tr>
            <td></td>
          </tr>
        </tbody>
      </table>
    HTML

    output = Inky::Core.new.release_the_kraken(input)
    expect_same_html(output, expected)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
inky-rb-1.3.7.2 spec/inky_spec.rb
inky-rb-1.3.7.1 spec/inky_spec.rb