From fe982c95aa2e77defd3220241e87eebae2d0d544 Mon Sep 17 00:00:00 2001 From: Karl Date: Wed, 8 Nov 2017 13:17:36 +0000 Subject: [PATCH] Update jdbc_spec_helper.rb --- spec/jdbc_spec_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/jdbc_spec_helper.rb b/spec/jdbc_spec_helper.rb index edafcb3..0329c0d 100644 --- a/spec/jdbc_spec_helper.rb +++ b/spec/jdbc_spec_helper.rb @@ -59,11 +59,11 @@ RSpec.shared_context 'when outputting messages' do end let(:jdbc_create_table) do - "CREATE table #{jdbc_test_table} (created_at datetime not null, message varchar(512) not null, message_sprintf varchar(512) not null, static_int int not null, static_bit bit not null, static_bigint bigint not null)" + "CREATE table #{jdbc_test_table} (created_at datetime not null, message varchar(512) not null, message_sprintf varchar(512) not null, static_int int not null, static_bit bit not null, static_bigint bigint not null, static_float not null)" end let(:jdbc_statement) do - ["insert into #{jdbc_test_table} (created_at, message, message_sprintf, static_int, static_bit, static_bigint) values(?, ?, ?, ?, ?, ?)", '@timestamp', 'message', 'sprintf-%{message}', 1, true, 4000881632477184] + ["insert into #{jdbc_test_table} (created_at, message, message_sprintf, static_int, static_bit, static_bigint) values(?, ?, ?, ?, ?, ?)", '@timestamp', 'message', 'sprintf-%{message}', 1, true, 4000881632477184, 12.1] end let(:systemd_database_service) do