Sha256: 2c8c7b699ccfe61689196526df1771e9d920ca909bd2dcba6a2c4b2a62d04268
Contents?: true
Size: 470 Bytes
Versions: 15
Compression:
Stored size: 470 Bytes
Contents
module Adhoq RSpec.describe Reporter::Xlsx, type: :model do context 'create xlsx report' do let(:report_data) do ex = Adhoq::AdhocExecution.new('xlsx', attributes_for(:adhoq_query, :greeting)[:query]) Adhoq::Reporter.generate(ex) end specify do expect(report_data.read).to have_values_in_xlsx_sheet([ %w[name description], ['hello', 'English greeting message'] ]) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems