Permalink
Browse files

Quotes table name in count_all method in integration_helper

  • Loading branch information...
spickermann committed Jan 9, 2014
1 parent 3f04bce commit b93b49d4fbe0428d39bab6e0e6f7dfd9bf727150
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/integration/integration_helper.rb
@@ -131,7 +131,7 @@ def count(table, column, value)
end
def count_all(table)
- query = "select count(*) from #{ table }"
+ query = "select count(*) from `#{ table }`"
select_value(query).to_i
end

0 comments on commit b93b49d

Please sign in to comment.