From 381c123f5aafac2dccaeb69951dcfddbf2671a4f Mon Sep 17 00:00:00 2001 From: MaxSorokin Date: Tue, 9 Apr 2024 18:56:11 +0300 Subject: [PATCH] fix: ApiTable.ToJSON --- spec/docx/smoke/api_table_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/docx/smoke/api_table_spec.rb b/spec/docx/smoke/api_table_spec.rb index 44705efbc..a8e588262 100644 --- a/spec/docx/smoke/api_table_spec.rb +++ b/spec/docx/smoke/api_table_spec.rb @@ -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