require 'spec_helper' RSpec.describe NewspaperWorks::TextExtraction::RenderAlto do let(:fixture_path) do File.join( NewspaperWorks::GEM_PATH, 'spec', 'fixtures', 'files' ) end let(:altoxsd) do xsdpath = File.join(fixture_path, 'alto-2-0.xsd') Nokogiri::XML::Schema(File.read(xsdpath)) end let(:page_prefix) { '