require 'spec_helper'
describe 'ApiImage section tests' do
  it 'ApiImage | GetClassType method' do
    pending('https://github.com/ONLYOFFICE/ooxml_parser/issues/254')
    pptx = DocBuilderWrapper.new.build_doc_and_parse('asserts/js/pptx/smoke/api_image/get_class_type.js')
    expect(pptx).to be_with_data
  end
end

require 'spec_helper'
describe 'ApiImage section tests' do
  it 'ApiImage | GetClassType method' do
    pptx = DocBuilderWrapper.new.build_doc_and_parse('asserts/js/pptx/smoke/api_image/get_class_type.js')
    expect(pptx.slides[0].elements.last.text_body.paragraphs.last.characters.first.text).to eq('Class Type = image')
  end
end

Add image test for presentation.
Add image test for presentation.
