spec/dummy/app/views/home/index.xlsx.axlsx in axlsx_rails-0.1.2 vs spec/dummy/app/views/home/index.xlsx.axlsx in axlsx_rails-0.1.3
- old
+ new
@@ -1,8 +1,8 @@
wb = xlsx_package.workbook
style_shout = wb.styles.add_style sz: 16, b: true, alignment: { horizontal: :center }
wb.add_worksheet(name: "Foobar") do |sheet|
sheet.add_row ['Bad', 'spellers', 'of', 'the', 'world', '...']
sheet.add_row ['Untie!']
- sheet.merge_cells("B1:B6")
- sheet["B1"].style = style_shout
+ sheet.merge_cells("A2:E2")
+ sheet["A2"].style = style_shout
end
\ No newline at end of file