Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
danhuynhdev committed Sep 8, 2019
1 parent 7f1c498 commit cce9336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/mysql2/result_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cce9336

Please sign in to comment.