Sha256: 32bb26d081c7b27087002dc475317258f4589500e5cd4556fc3549bb10c028c3

Contents?: true

Size: 291 Bytes

Versions: 10

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

shared_examples 'removes metadata table' do
  it 'removes original table' do
    table_html = %r{<span\s+[^.]*>\[?#{described_class::HEADER_LABEL}\]?</span>}im
    subject
    expect(fragment.to_html).to_not match(table_html)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.5.4 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.5.3 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.5.2 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.5.1 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.5.0 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.4.2 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.4.1 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.4.0 spec/lib/doc_template/tables/shared_examples/remove_table.rb
lcms-engine-0.3.1 spec/lib/doc_template/tables/shared_examples/remove_table.rb