summaryrefslogtreecommitdiff
path: root/spec/formatted_text_spec.rb
blob: 73f30383c5a2f49ab6d7b6e9323efcca5c0f74cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require_relative 'spec_helper'

describe Asciidoctor::PDF::FormattedText do
  it 'should not wrap LoadError if require fails' do
    (expect do
      require 'no-such-gem'
    end).to raise_exception LoadError, %r/no-such-gem/
  end
end