mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Fix spec helper
This commit is contained in:
parent
5db1a564e6
commit
15d0e57eb0
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ module DB
|
|||
end
|
||||
|
||||
it "executes with bind #{value_desc} as array" do |db|
|
||||
db.scalar(select_scalar(param(1), sql_type), [value]).should eq(value)
|
||||
db.scalar(select_scalar(param(1), sql_type), args: [value]).should eq(value)
|
||||
end
|
||||
|
||||
it "select #{value_desc} as literal" do |db|
|
||||
|
|
Loading…
Reference in a new issue