diff --git a/spec/integration/integration_helper.rb b/spec/integration/integration_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/integration_helper.rb
+++ b/spec/integration/integration_helper.rb
@@ -131,7 +131,7 @@ module IntegrationHelper
   end
 
   def count_all(table)
-    query = "select count(*) from #{ table }"
+    query = "select count(*) from `#{ table }`"
     select_value(query).to_i
   end
Quotes table name in count_all method in integration_helper