From cce93361957179ab937196efa9715f6fb4670e10 Mon Sep 17 00:00:00 2001 From: Tan Huynh Date: Sun, 8 Sep 2019 20:38:42 +0700 Subject: [PATCH] Fix spec --- spec/mysql2/result_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/mysql2/result_spec.rb b/spec/mysql2/result_spec.rb index f65badde2..321756f19 100644 --- a/spec/mysql2/result_spec.rb +++ b/spec/mysql2/result_spec.rb @@ -170,7 +170,7 @@ it "should return an array of field types in proper order" do result = @client.query "SELECT cast('a' as char), cast(1 as unsigned), cast(1.2 as decimal(15, 2))" - expect(result.field_types).to eql(%w[varstring bigint decimal]) + expect(result.field_types).to eql(%w[varchar(1) bigint(1) decimal(15,2)]) end end