Skip to content

Commit

Permalink
fix: ApiTable.ToJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
askonev committed Apr 9, 2024
1 parent 0c4c301 commit 381c123
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/docx/smoke/api_table_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,9 @@
end

it 'ApiTable | ToJSON method' do
skip('bug https://bugzilla.onlyoffice.com/show_bug.cgi?id=61176')
docx = builder.build_and_parse('js/docx/smoke/api_table/to_json.js')
json = JSON.parse(docx.elements[0].nonempty_runs[0].text)
expect(json['type']).to eq('Table')
expect(json['type']).to eq('table')
expect(json['styles']['132']['name']).to eq('List Table 5 Dark')
expect(docx.elements[1].properties.table_style.name).to eq('List Table 5 Dark')
end
Expand Down

0 comments on commit 381c123

Please sign in to comment.