Skip to content

Commit

Permalink
fix: ApiTableCellPr.ToJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Yar04ek committed Nov 28, 2023
1 parent 4a51180 commit 2a1dc79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/docx/smoke/api_table_row_properties_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

it 'ApiTableRowPr | ToJson method' do
docx = builder.build_and_parse('js/docx/smoke/api_table_row_pr/to_json.js')
json = docx.elements[1].nonempty_runs.map(&:text).join
json = docx.elements[0].nonempty_runs.map(&:text).join
parsed_json = JSON.parse(json)
expect(parsed_json).to include('name' => 'My Custom Table Style')
end
Expand Down

0 comments on commit 2a1dc79

Please sign in to comment.