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 cce9336 commit e811604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mysql2/result_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@
end

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[varchar(1) bigint(1) decimal(15,2)])
result = @client.query "SELECT cast('a' as char), cast(1.2 as decimal(15, 2))"
expect(result.field_types).to eql(%w[varchar(1) decimal(15,2)])
end
end

Expand Down

0 comments on commit e811604

Please sign in to comment.