spec: fix spec to work when prepared statements are disabled
spec: fix spec to work when prepared statements are disabled

Change-Id: Iaf4d133f069099278a18cb92511f25f555327574
Reviewed-on: https://gerrit.instructure.com/89157
Tested-by: Jenkins
Reviewed-by: James Williams  <3a5f4ed991dbfa5c9ef76ad729d240ca12f62180@instructure.com>
Product-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
QA-Review: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>

instructure/switchman,instructure/switchman